RE: [PHP-DB] dropdlist doens''t work quite well
| From: | Rick Emery | Date: | Tue, 11 Dec 2001 19:59:57 +0000 |
| Subject: | RE: [PHP-DB] dropdlist doens''t work quite well | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-14945@lists.php.net to get a copy of this message | ||
I suggest:
<option value=<?php print"\"$status\""; ?> SELECTED>
-----Original Message-----
From: venomous [mailto:venomous@zeelandnet.nl]
Sent: Tuesday, December 11, 2001 10:43 AM
To: php-db@lists.php.net
Subject: [PHP-DB] dropdlist doens''t work quite well
Can any body help.
When i use a dropdown list for input to my database it can't use the first
value. The rest of the values work fine.
this is the source of my list
<select name="status">
<option value="<?php echo $status; ?>" SELECTED>
<?php echo $status; ?>
</option>
<option value="open">Open</option>
<option value="in behandeling">In behandeling</option>
<option value="afgehandeld">Afgehandeld</option>
</select>
check my website for the hole script
http://venomous.homeip.net/config/goeddrop.php
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
For additional commands, e-mail: php-db-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net