Re: Help with redeclare error

From: Date: Fri, 28 Oct 2011 00:06:59 +0000
Subject: Re: Help with redeclare error
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-315473@lists.php.net to get a copy of this message
Jason Pruim lists@pruimphotography.com 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.

« previous php.general (#315473) next »