I tried this little code, where I am learning how to use forms. So I create a couple of boxes where user enters info and then click submit button, the problem is that when I click submit button nothing appears OR appears the code I typed.
this is the code that creates the text boxes and rest of the components
Enter your info in the space providedName:
Email:
Gender: Male Female
Age: Under 30 Between 30 and 60 Above 60
<p><b>Comments:</b>
<textarea name = "comments" rows = "3" cols = "40"/></textarea>
</p>
<div align = "center">
<input type = "submit" name = "submit" value = "Submit"/>
</div>
</fieldset>
</form>
then the file handle_form.php id this
<? $name = $_REQUEST['name'];
$email = $_REQUEST['email'];
echo $name;
?>
then nothing is displayed, now if I remove the body tags it prints exactly the code.
Thanks for your help in advance!