How to get output value using $_REQUEST
Posted: Tue Sep 06, 2005 5:21 am
In my template in have an select structure like
But when the page submitted & I try to get the status value with $_REQUEST['status'], it shows 1 if I choose Yes & 2 in other case. How can I get the output value in $_REQUEST. I can't change the option value in string. Also can't use if/else statements to get that output value. Plz help me.
Code: Select all
<select name="status">
<option value=1>Yes</option>
<option value=2>No</option>
</select>