Could anyone help me to figure out how to write a piece of code that says
if the time now time( ) is greater than 1 hour of the time( )then do
I have a script that gets the time as of now and I also have the time of
(lets say then) stored in a database.
 how would I write the code to say if the old time is greater than 1 hour do

          $subtracted_time = $time_now - $stored_database_time;
                if ($subtracted_time > mktime(1,0,0,0,0,0))

Thank you

PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to