setting initial vlaue of optionbox

From: Date: Sun, 03 Jul 2005 15:15:15 +0000
Subject: setting initial vlaue of optionbox
Groups: php.general 
Request: Send a blank email to php-general+get-218055@lists.php.net to get a copy of this message
I want to keep the value of the listbox to submitted value. To do this when using a text area I use the code <INPUT NAME="mail_subject" value="<?=$subject; ?>" SIZE="40"> The line value="<?=$subject; ?>" Keeps the value of $subject that was previously entered in the textarea even after the form is submitted with php_self(). Is this possible with the listbox?? R.

« previous php.general (#218055) next »