check box
Posted: Tue Aug 08, 2006 1:53 am
hi,,
in my html page there is a check box
<input type="checkbox" name="chkRejected" value="CHECKED">
when i get the value of this as follows it gives me the value even its checked or not
how i get the value if its checked only or do a function if its checked only
$reject=$_POST['chkRejected'];
pls help me
shiran
in my html page there is a check box
<input type="checkbox" name="chkRejected" value="CHECKED">
when i get the value of this as follows it gives me the value even its checked or not
how i get the value if its checked only or do a function if its checked only
$reject=$_POST['chkRejected'];
pls help me
shiran