Re: [PHP] date time problem

2013-10-07 Thread Jim Giner
On 10/6/2013 11:21 PM, Romain CIACCAFAVA wrote: An easier way to do that would be using the diff() method of a DateTime object on another. Regards Romain Ciaccafava Romain - you were so right. A little less calculating to be done and I got the result I wished. For anyone interested here's t

Re: [PHP] PHP Fatal error: Call to undefined function ()

2013-10-07 Thread Stuart Dallas
On 7 Oct 2013, at 14:34, Michael Alaimo wrote: > On Mon, Oct 7, 2013 at 9:29 AM, Stuart Dallas wrote: >> On 7 Oct 2013, at 14:24, Michael Alaimo wrote: >> >> > We have a server that gets a large number of requests each month. >> > >> > After a period of time I began to see this error in our er

Re: [PHP] PHP Fatal error: Call to undefined function ()

2013-10-07 Thread Michael Alaimo
public static function getInfo($params = array()) { $results = array(); $url = 'http://google.com'; $props = array ( 'key'=> Yii::app()->params['param1'], 's'=> Yii::app()->params['param2'] );

Re: [PHP] PHP Fatal error: Call to undefined function ()

2013-10-07 Thread Stuart Dallas
On 7 Oct 2013, at 14:24, Michael Alaimo wrote: > We have a server that gets a large number of requests each month. > > After a period of time I began to see this error in our error logs this > weekend. > > PHP Fatal error: Call to undefined function () > > It does not reference a function, so

[PHP] PHP Fatal error: Call to undefined function ()

2013-10-07 Thread Michael Alaimo
We have a server that gets a large number of requests each month. After a period of time I began to see this error in our error logs this weekend. PHP Fatal error: Call to undefined function () It does not reference a function, so I found it odd. It did give a line to a function with array_mer