note 31686 added to faq.installation
| From: | franrodriguez1 at supercable dot es | Date: | Wed, 30 Apr 2003 10:10:02 +0000 |
| Subject: | note 31686 added to faq.installation | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-47283@lists.php.net to get a copy of this message | ||
I have a problem using forms with PHP under Red Hat Linux with Apache 2.0
When I write a page with a form like this:
<form NAME='formulario' ID='formu' ACTION='procesa.php'
METHOD='GET'>
<select NAME='selecciona' ID='selec'
onchange='formulario.submit();'>
<option VALUE='1' NAME='Opcion1'>Opcion 1</option>
<option VALUE='2' NAME='Opcion2'>Opcion 2</option>
</select>
</form>
I can't get the value of the option selected. When I try to print it like this on procesa.php:
echo "Lo seleccionado es: ",$selecciona;
I just get: Lo seleccionado es:
Oh, please, what's wrong???!!!
--
http://www.php.net/manual/en/faq.installation.php
http://master.php.net/manage/user-notes.php?action=edit+31686
http://master.php.net/manage/user-notes.php?action=delete+31686
http://master.php.net/manage/user-notes.php?action=reject+31686