Jump to content

Two vexing questions


maat

Recommended Posts

Hello,

 

I need some help, or at least a little nudge in the right direction.  ;) I am about to write some code, and I'm not sure how to do a couple things in particular. I'm creating a blog, and am about to write the script that will display the posts. This main display, blog_main.php, will only show a short preview of each post. By clicking on the title, or the links at the bottom of the post (Read More or View/Add Comments), visitors will be able to see the entire post, and view/add comments. I want to use a single file to control the display of this second page.

 

I am not sure how to a) display a shortened version of the posts, and b) pass variables through the link to the second page. I'm new to php, so I'm not even sure if I'm asking the right questions!  :shrug:  :D

 

Any tips, hints, or suggestions are highly appreciated!

 

Kindest regards,

Maat

Link to comment
https://forums.phpfreaks.com/topic/187316-two-vexing-questions/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.