Please somebody help, i am getting this error... Notice: Undefined index: yes in C:\Program Files (x86)\EasyPHP-5.3.3\www\assignment2\validation.php on line 64
Please choose Yes or No
portion of code
$yes = isset($_REQUEST["yes"]) ? $_REQUEST["yes"] : "";
echo "<select value = '", $yes, "'>";
echo "<option selected = 'selected'>";
echo "Select";
echo "</option>";
echo "<option>";
echo "Yes";
echo "</option>";
function check_data()
{
global $errors_array;
this is line 64 if($_REQUEST["yes"] == ""
{
$errors_array[] = "<font color = 'red'>Please choose Yes or No</font>";
}
}