Hi all,
I have a select menu generated using PHP.
One option is to have a value of 0...
echo '<option value="0">Select Course</option>';
Then the following code is to check what option is selected...
if($course == 0)
{
echo '<p>Please select a course</p>';
echo '<p><a href="javascript:history.back(1)">Return</a></p>';
exit;
}
My problem is I can't get the checking working correctly. Any ideas how to fix this?
Thanks.
Kevin.