Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?
- $username="team14";
- $password="team14";
- $database="team14";
- $first=$_POST['first'];
- $last=$_POST['last'];
- $phone=$_POST['phone'];
- $mobile=$_POST['mobile'];
- $email=$_POST['email'];
- mysql_connect(localhost,$username,$password);
- @mysql_select_db($database) or die( "Unable to select database");
- $query = "INSERT INTO contact VALUES ('','$first','$last','$phone','$mobile','$email')";
- mysql_query($query);
- mysql_close();
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement