Zero 3
03-28-2009, 05:50 PM
Hi,
I need help creating a real version of this:
http://www.ydnfutc.com/testlayout/index.php
That was a mock version I made up. I need to pull the latest 2 threads from a certain forum (id=2) and display them in that format on my index page.
I know that I need to include the global, I'm just wondering how to fetch the data from the MySQL database, and only get the latest two threads with all that information (user avatar, user rank, rank image, user name, thread title, body of the post)
Any idea how I can do that?
I need help creating a real version of this:
http://www.ydnfutc.com/testlayout/index.php
That was a mock version I made up. I need to pull the latest 2 threads from a certain forum (id=2) and display them in that format on my index page.
I know that I need to include the global, I'm just wondering how to fetch the data from the MySQL database, and only get the latest two threads with all that information (user avatar, user rank, rank image, user name, thread title, body of the post)
Any idea how I can do that?