Hi,
If I pass a <FORM> (using POST) from one php script to another, which
contains the following HTML checkbox:
<INPUT type="checkbox" name="insurance" value="yes">
I know that the input will only be passed if the checkbox is ticked... but
how do I check if the checkbox was ticked and the value has actually been
passed ?
At the moment I am doing this:
if ( $_POST["insurance"] == "yes" )
{
}
But is there a more "accurate" way of checking the exsistence of "insurance"
?
Many Thanks,
Shams
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php