[php]
<?php if(isset($_POST['formSubmit'])){ if( $_POST['formWheelchair'] == 'Yes'){ echo "Need wheelchair access."; } else { echo "Do not Need wheelchair access."; } } ?>[/php][code]
Do you need wheelchair access? [/code]the problem is, in case of “yes” its works fine but in case of “No” it it gives error
Notice: Undefined index: formWheelchair in C:\xampp\htdocs\hello.php on line 5
Do not Need wheelchair access.