state (Field Problem)
| From: | Louie Miranda | Date: | Thu, 17 Jul 2003 04:56:15 +0000 |
| Subject: | state (Field Problem) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-155529@lists.php.net to get a copy of this message | ||
Given this problem..
I have this html form that has a "State" option and it list all the US
states. And i also have a "State/Province" field if ever he does not live in
the US.
My problem is how will i recognize both? I Mean, i will pass it over to a
php program and ofcourse the php will parse the user _POST's and display it.
USA / State: Washington DC
Not USA / State: Whatever
--
<SELECT NAME="USAState"><option value=''>Select State<option
value=StateProvince>Not USA
--
State or Province (Not USA):<input type='text' name='StateProvince'>
--
How will i pass this? Double thing? and make it just one..
--
Thank you,
Louie Miranda (louie@axishift.ath.cx)