oh yeah, how do i get the latest date stored in a mysql database through php? for instance, i want to know the date when someone last made a reply to a post or something. thanks!
latest date
use the date() function
Won't it be something like?
$sql = "SELECT max(lastpost) FROM replies";
Originally posted by absolute0
i want to know the date when someone last made a reply to a post or something
Do you really know what you want?
You might want the SQL: ORDER BY.... or something :p