943,514 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 1937
  • PHP RSS
Oct 22nd, 2008
0

Code To Display Recent Blog Posts on Static Website

Expand Post »
Hello,
I'm looking for some code that will recognize my recent blog posts (say 6 most recent posts) and display them on the homepage of my static website. The homepage would show a few lines from the blog with link to the post.

Can someone help? The server is Linux (with mysql, php).

Thank you!
Carl
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Loopster is offline Offline
15 posts
since Feb 2008
Oct 22nd, 2008
0

Re: Code To Display Recent Blog Posts on Static Website

I know this can be achieved with PHP scripting. To do that your homepage needs to connect to your blog's MySQL database and extract the data from the table containing the latest blog posts.

But I'm afraid this is not the right forum. You might consider moving this thread to the PHP section. And to do that, click on the link, Flag Bad Post and that will take you to another page containing a web form. In the form politely ask the moderators to move your thread to the PHP Forum and give reason for your request. Your reason will likely be that you need proper attention to your thread. I believe that's the place you'll likely get quicker and more insightful response from knowledgeable PHP coders.

Please, do not cross-post (posting the same thread in another forum section), as that might seem tantamount to spamming the forum. The ideal thing is to use the Flag Bad Post option.
Reputation Points: 16
Solved Threads: 9
Junior Poster
mexabet is offline Offline
148 posts
since Mar 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: can anybody help me out
Next Thread in PHP Forum Timeline: trouble with script registering data





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC