[PHP-DB] Compare time functions

2002-09-30 Thread wade
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( time stored in the database) 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

RE: [PHP-DB] Compare time functions

2002-09-30 Thread John W. Holmes
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( time stored in the database) 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.