>   Is it possible to extract the value option which item name selected..for
> example i am having list of soap brand in the options..is it possible that
> to tell that the user seleced this brand of soap while in the submittion
> of the form..can any one please tell me how to do this..

Umm...that's what PHP does, isn't it?

<form method="GET">
<select name="soap">
<option value="Dove">Dove</option>
<option value="Zest">Zest</option>
<input type="submit">

When that form is submitted, you'll have a variable $_GET['soap'] that'll be
equal to either "Zest" or "Dove", depending on what the user chose.

Maybe you are missing the value="" in your <option> tags?

---John Holmes...

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to