Re: Mystery foreach error

From: Date: Wed, 13 Mar 2013 23:18:50 +0000
Subject: Re: Mystery foreach error
References: 1 2 3 4 5 6  Groups: php.general 
Request: Send a blank email to php-general+get-320524@lists.php.net to get a copy of this message
On Mar 13, 2013, at 9:07 AM, Jim Giner wrote: > Why not just check if the $state exists as a key of the array $states before doing this? Jim, Are you thinking about the in_array function? Angela

« previous php.general (#320524) next »