I cant believe I forgot how to do this! Tell me whats wrong plZ!!!!!
Pass info from Form to Script, display info on script, i kept getting erros like:
Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in c:\inetpub\wwwroot\p4server\test.php on line 6
Thanks in advanced!
form.html
<form method="POST" action="test.php">
<tr>
<td width="100%"><input type="text" name="Phone" size="20"></td>
</tr>
<tr>
<td width="100%"><input type="text" name="Name" size="20"></td>
</tr>
</table>
<p><input type="submit" value="Submit" name="B1"><input type="reset" value="Reset" name="B2"></p>
</form>
test.php
<?php
$names = $_POST['name'];
$phones = $_POST['phone'];
echo "<h1>Registertration</h1>";
echo "<h2>You Have Entered:</h2>;
echo $names;
echo $phones;
?>