POST sould act the same as GET in the respect that it will pass the info to the next page by do it silently...
Therefore if you used the POST method in your form..
HTML Code:
<form action = "SuccessfulRegistration.php" method = "POST">
<br>
To register to this website please enter your details below, then click 'Submit'.
<br>
<br>
Enter username: <input type = "text" id = "name_field" name = "name"/><br>
<br>
Enter password: <input type = "password" id = "password_field" name = "password"/><br>
<br>
Enter address: <input type = "text" id = "address_field" name = "address"/><br>
<br>
Enter postcode: <input type = "text" id = "postcode_field" name = "postcode"/><br>
<br>
Enter Telephone Number: <input type = "number" id = "telephone_field" name = "telephone"/><br>
<br>
Enter your handicap: <input type = "number" id = "handicap_field" name = "handicap" value="none"/> (If known)<br>
<br>
<br>
<input type = "submit" VALUE = "Submit"/>
</form>
On the next page use....
PHP Code:
$name_field = $_POST['name_field'];
# etc.....
Then use those variables in your insert statement.
See if that works.
Bookmarks