Jump to content


This topic is now archived and is closed to further replies.


Order By Timestamp quick question

Recommended Posts

Ok I've created a table with timestamp in it.
Ive completed my forum software almost i need to make it so when i make a topic it updates the time topic was made so i can fix my viewforum and do a

$bam = mysql_query("SELECT * FROM mytable WHERE fid='$blah' ORDER BY timestamp") or die(mysql_error());

so how can i make my topic script update the timestamp with a real date then i can do my code above.

Thanks in advanced.

Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.