You will be redirected shortly."; exit(); } if(mysql_error()) { echo mysql_error(); } $query2=("INSERT INTO hoehnFinalLogin (username, password, first_name, last_name) VALUES ('$username',password('$password'), '$first_name', '$last_name')"); $result2=mysql_query($query2,$db); echo "Account created
You will be redirected shortly."; ?>