note 31686 rejected from faq.installation by rioter
| From: | rioter@php.net | Date: | Wed, 30 Apr 2003 10:45:49 +0000 |
| Subject: | note 31686 rejected from faq.installation by rioter | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-47284@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???!!!