I want to submit some form information using POST method. On submit i want to verify those choises with a php file. I have the following code
<?php
$name = $_POST["name"];
echo "<h2>Your Choices:</h2>";
echo "<table class=\".2\">
<tr>
<td>Name:</td>
<td>$name</td>
</tr>
</table>";
?>
The problem is that when i submit the form, the php file loads perfect, but the variables value ($name) is not visible. The tale just shows $name as text.
What am i doing wrong? i've tried many variations, using .$name. etc but nothing works...
Thanks