Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_php thread: = Re: How cantī read the names and values off a combo-box


Message #1 by emmet.mccarthy@w... on Wed, 20 Jun 2001 12:11:58 +0200
Hi Julio,
I hope this is what you're looking for. You can of course replace the valu
es with numbers, if that's what you prefer. I 
just put the code at the end for testing.
Take care,
Emmet 

<form action=3D"<?php $PHP_SELF ?>" method=3D"get">
<select name=3D"cities">
	<option value=3D"Buenos Aires">Buenos Aires</option>
	<option value=3D"Berlin">Berlin</option>
	<option value=3D"Moscow">Moscow</option>
</select>
<input type=3D"submit" name=3D"submit" value=3D"submit">
</form>

<?php
if (isset($submit))
{
echo $cities;
}
?>
Emmet Mc Carthy
WAYTOHERE GmbH(Programmierung)
Schlei=DFheimerstr. 41
80797 M=FCnchen
Tel: (089) 12700888
Fax: (089) 12700889
e-mail: info@w...

  Return to Index