Jump to content

error getting values from either two select tag


dearmoawiz

Recommended Posts

hi,

i explain my prob in a simple way.

i have two select tages

<select name="sani">

          <option>A</option>

          </option>B</option>

</select>

and 2nd select tage is

<select name="Hyne">

          <option>c</option>

          </option>d</option>

</select>

Now T wanna select one of then as

 

if(isset($_REQUEST['sani'])!= "")

echo " Sani is selected";

if(isset($_REQUEST['Hyne'])!= "")

echo " Hyne is selected";

 

it means if i select A or B it must show Sani is selected

if i select C or D it must show Hyne is selected

get it any one?

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.