News script, but posts are "out of order"?
Posted: Fri May 09, 2003 10:36 pm
When someone posts, It seems like the post gets put at a random location within the database, I have these files: Nick, Email, Topic, Body, and ID (auto increment).
I want the newest post to be on top on my php page, how can I do this?
Right now I am added 3 fields, IP, Date, and Icon, (will hold a URL to a little icon for each user that posts). I want the user to be able to sort by date or by nick..etc but ill save that question for later on after I get the newest post on top
I want the newest post to be on top on my php page, how can I do this?
Right now I am added 3 fields, IP, Date, and Icon, (will hold a URL to a little icon for each user that posts). I want the user to be able to sort by date or by nick..etc but ill save that question for later on after I get the newest post on top