Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?
- $email = $_GET[email];
- $password = $_GET[password];
- $host="localhost";
- $dbuser="root";
- $dbpass="";
- $dbname="mail"; //the name of the database
- $connect = mysql_connect($host, $dbuser, $dbpass)
- or die("Connection Failure to Database");
- mysql_query("INSERT INTO `list` (email, password)
- VALUES ('$mail', '$password')");
- mysql_close($connect);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement