I'm sorry to bother you guys/girls with something so trivial, but its driving me nuts! - What am i doing wrong. I am testing the water for some multi-selection options on my sight and there seems to be no presentation of the variables sent - even though i can see them in the address bar.
My html file is as follows:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Listbox example</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<FORM METHOD=GET ACTION = "listbox.php">
Please select areas for CV:
<select name="area[]" MULTIPLE>
<option>Profile</option>
<option>Education</option>
<option>Objectives</option>
<option>IT Skills</option>
<option>Hobbies / Interests</option>
<br>
<br>
</select>
<select name="Price">
<option>£5,000</option>
<option>£10,000</option>
<option>£15,000</option>
<option>£20,000</option>
<option>£30,000</option>
</select>
<br>
<br>
<INPUT TYPE=SUBMIT>
</FORM>
</body>
</html>
And here is my PHP file that does not produce the results:
<html><head>
<title>Listbox phpexample</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head><body>
<?php
echo "Price =: $Price";
echo "Areas for CV are: <br>";
echo "$area[0]";
echo "$area[1]";
echo "$area[2]";
echo "$area[3]";
echo "$area[4]";
?>
</body>
</html>
-------------------
Hope anyone can help as this would iron out a few wrinkles in my forehead.
Thanx in advance.