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
something.
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
something?

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

Thank you



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to