Re: Mystery foreach error

From: Date: Wed, 13 Mar 2013 01:04:18 +0000
Subject: Re: Mystery foreach error
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-320504@lists.php.net to get a copy of this message
On Mar 12, 2013, at 5:16 PM, David Robley wrote: > Presumably there is a fixed list of State - those are US states? - > so why not provide a drop down list of the possible choices? There is, but the problem must have been that if someone didn't select a State, $state was blank. I've since given the "Select a State..." choice a value of 'XX' and I'm now looking for that in the if statement I mentioned before. Angela

« previous php.general (#320504) next »