|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
A select optiion + php problem
Hi all
I have in the html select optin like this: <SELECT NAME="open_season_date" value="<?= $open_season_date?>"> <option value=1>Jan <option value=2>Feb <option value=3>Mar <option value=4>Apr </SELECT> whereas $open_season_date is a php variable. It's value is $open_season_date=3. The problem it keeps showing me Jan (as if it's value is 1). What should I do to make it show Mar (like it's true value 3) ? Thanks and regards |
|
#2
|
|||
|
|||
|
RE: A select optiion + php problem
In the march one, have: <option value=3 selected>Mar</option>
(You know you do have to end <option> tags right?) |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Client Side Things > A select optiion + php problem |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|