include('header.php'); $err=""; if(isset($_POST['submit'])) { $err=0; $name = $_POST['name']; $address = $_POST['address']; $b_name=$_POST['businessname']; $city = $_POST['city']; $province = $_POST['province']; $postal = $_POST['postal']; $email = $_POST['email']; $phone = $_POST['phone']; $username = $_POST['username']; $password = $_POST['password']; $_POST['password'] = md5($_POST['password']); if (!get_magic_quotes_gpc()) { $_POST['password'] = addslashes($_POST['password']); } if ($name=="") { $err=1; } if ($address=="") { $err=1; } if ($postal=="") { $err=1; } if ($city=="") { $err=1; } if ($province=="") { $err=1; } if ($b_name=="") { $err=1; } if ($email=="") { $err=1; } if ($phone=="") { $err=1; } if ($username=="") { $err=1; } if ($password=="") { $err=1; } if ($err==0){ mysql_query("INSERT INTO temp_account (name,b_name,address,city,province,postal,email,phone,username,password) VALUES ('$name','$b_name','$address','$city','$province','$postal','$email','$phone','$login_name','".$_POST['pass']."')")or die(mysql_error()); } } echo"
Please be advised thier is a one time starter fee of $300. You will need to pay the $300.00 fee before we start on any project. After you fill out the form you will be redirected to paypal to pay the starter fee. If you do not wish to pay through paypal please contact us for other options. "; if($err=="" or $err==0) { echo" This is where paypal should come into effect "; } else { if ($err==1){ echo "All fields need to be entered"; } echo"
"; } include('footer.php'); /* */ ?>