Jason Pruim lists@xxxxxxxxxxxxxxxxxxxx On Oct 27, 2011, at 7:55 PM, Jack wrote: > Hello All, > > > > I have some code that just broke with a PHP upgrade, the error says: > > PHP Fatal error: Cannot redeclare date_diff() the line of the error is the > close bracket of the function which is below. > > Any ideas what's going on, I'm stuck? Most likely you have in included in 2 files... Look into it from that angle... It only needs to be included in 1 file to work throughout all the files. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php