RE: [PHP] PHP commands and HTML combobox
| From: | Rick Emery | Date: | Fri, 01 Feb 2002 14:57:15 +0000 |
| Subject: | RE: [PHP] PHP commands and HTML combobox | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-83127@lists.php.net to get a copy of this message | ||
Eduardo,
You've already solved your own problem. You just need to take it one step
further.
given:
<form method=post action="formprocess.php">
<select name="combo">
<option value=01>Option 01
<option value=02>Option 02
<option value=03>Option 03
</select>
----------------------------------
in formprocess.php file:
<a href="http://www.iasp.br/iasponline.php?option=<?php
print $combo;?>">
<img border="0" src="baok.gif" width="17" height="17">
</a>
-----Original Message-----
From: Eduardo Melo [mailto:eduardofcomelo@hotmail.com]
Sent: Friday, February 01, 2002 5:19 AM
To: php-general@lists.php.net
Subject: [PHP] PHP commands and HTML combobox
How can i use a HTML combobox content into a PHP code as such as :
<select name="combo">
<option>Option 01
<option>Option 02
<option>Option 03
</select>
<a href="http://www.iasp.br/iasponline.php?option=xx">
<img border="0" src="baok.gif" width="17" height="17">
</a>
xx must be the option select in the combo named ~combo~ but must be an
substr (x,7,2)
Is it posible ???
someone can help me ?
best regards,
eduardo melo
computer programmer
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net