View Single Post
Old 05-03-2005, 11:05 PM   #26 (permalink)
DJMaze
Senior Contributor
 
DJMaze's Avatar
 
Join Date: Mar 2005
Posts: 672
DJMaze is on a distinguished road
if <form method="POST"> then use:
PHP Code:
$title=mysql_real_escape_string($_POST['title']);
$firstname=mysql_real_escape_string($_POST['firstname']);
$lastname=mysql_real_escape_string($_POST['lastname']);
$username=mysql_real_escape_string($_POST['username']);
$password=mysql_real_escape_string($_POST['password']);
$suburb=mysql_real_escape_string($_POST['suburb']);
$city=mysql_real_escape_string($_POST['city']);
$phonenumber=mysql_real_escape_string($_POST['phonenumber']);
$dob=mysql_real_escape_string($_POST['dob']); 
Else use $_GET

Oh a view posts back i added the following line to your reg.inc.php
PHP Code:
error_reporting(E_ALL); 
It should show have shown you a bunch of "notices" about your code.
DJMaze is offline   Reply With Quote