Re: I am puzzled. Error on one site, no error on the other

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 13-10-25 08:27 PM, Stephen wrote:
Problem Situation
The warning is from this code:

if ( in_array( $keys, $photo_ids ) )

*Warning*: in_array() expects parameter 2 to be array, null given in */home/rois3324/include/cpprocessforms.php* on line *203*

Thank you to those who responded. Declaring the array did the job. Should have seen that, but because I did not get the error in other environments I overlooked what should have been obvious!

--
Stephen


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux