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.