If you want to put the SELECTED option into your select list while you are 
building the page, use an if statement in the <option...> ... something 
like this:

<OPTION VALUE=1 <?php if ($this==$that) {echo "SELECTED"; } ?>> Option 1
<OPTION VALUE=2 <?php if ($this==$that2) {echo "SELECTED"; } ?>> Option 2


Peter



At 02:05 PM 9/9/2002 +0300, you wrote:
>Hi,
>
>Can I put the "selected" option of select box   later by using php?
>
>thanks
>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php

- - - - - - - - - - - - - - - - - - - - -
Fourth Realm Solutions
[EMAIL PROTECTED]
http://www.fourthrealm.com
Tel: 519-739-1652
- - - - - - - - - - - - - - - - - - - - -


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to