Code To Display Recent Blog Posts on Static Website

Reply

Join Date: Feb 2008
Posts: 14
Reputation: Loopster is an unknown quantity at this point 
Solved Threads: 0
Loopster's Avatar
Loopster Loopster is offline Offline
Newbie Poster

Code To Display Recent Blog Posts on Static Website

 
0
  #1
Oct 22nd, 2008
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
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 142
Reputation: mexabet is an unknown quantity at this point 
Solved Threads: 9
mexabet's Avatar
mexabet mexabet is offline Offline
Junior Poster

Re: Code To Display Recent Blog Posts on Static Website

 
0
  #2
Oct 22nd, 2008
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.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the PHP Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC