
November 16th, 2012, 10:00 AM
|
|
Contributing User
|
|
Join Date: Mar 2007
Posts: 98
  
Time spent in forums: 1 Day 2 h 56 m 15 sec
Reputation Power: 8
|
|
Sorry, I forgot to mention what I was trying to accomplish. It's a resume program. The date a person enters their resume is logged in the database under the "submitted" row.
When they login to their resume panel I want to let them to see how many days they have left before their resume will become inactive (6 months total active time from original submit date) and will have to be renewed. The script I posted above worked fine before my hosting company installed PHP 5 and MySQL 5, so I'm assuming that something in this:
Quote: | $ageindays = number_format(floor((date("U")-strtotime($originaldate))/86400),0); | is no longer valid, but I don't know what.
|