Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
|
Use your db abilities...
If your TIME field is a timestamp, then:
PHP Code:
$result = mysql_query("SELECT TIME FROM $db_table WHERE ID='$name' and TIME<now()-interval 1 hour");
__________________
Only a biker knows why a dog sticks his head out the window.
|