Everytime i try registering it says, “Would you want Password Manager to change the password for Webmaster”. Then if I click yes or cancel it takes my to a page saying that post is not allowed. My database name is bobbob95_1. What is wrong with my code:
[code=php]<?
$conn = mysql_connect(“localhost”,”bobbob95_1″,”010292″);
$db = mysql_select_db(“bobbob95_db”);
$username = $_POST[“username”];
$password = $_POST[“password”];
$email = $_POST[“email”];
$result= MYSQL_QUERY(“INSERT INTO users (id, username, password, email)”.
“VALUES (‘NULL’, ‘$username’, ‘$password’, ‘$email’)”);
echo “Your Username and Password have been submitted :)”;
?>