how to suppress foreach error?
I am trying to keep some code from popping out a foreach error if the array does not exist? I keep getting this error:
Code:
Warning: Invalid argument supplied for foreach() |
Quote:
Code:
$arr = array(); Code:
if (is_array($arr)) |
All times are GMT -4. The time now is 08:02 PM. |
Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2024, vBulletin Solutions, Inc.