BLOG DESIGN SOLUTIONS if($myposts) { echo “\n”; do (Sex offenders web site)

BLOG DESIGN SOLUTIONS if($myposts) { echo “

    \n”; do { $post_id = $myposts[”post_id”]; $title = $myposts[”title”]; echo “
  • . $title
  • \n”; } while ($myposts = mysql_fetch_array($result)); echo “

“; } ?>

Creating a post page In a blog, every post should have its own page. To enable this you will combine code from the blog homepage (index.php) and the CMS edit post page (addpost.php). Save this code as post.php in the root of your blog directory:

This entry was posted on Thursday, January 10th, 2008 at 9:05 am and is filed under Apache. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply