Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $host = "localhost";
- $user = "root";
- $passwd = "sa";
- $dbname = "myhtml5db";
- mysql_connect($host, $user, $passwd) or die ("Connection Fail!");
- mysql_select_db($dbname) or die("Cannot select database!");
- $vuserid = $_GET["uid"];
- $vusername = $_GET["name"];
- $vpassword = $_GET["pass"];
- $vSQL = " Insert Into usermaster ( userid, username, password ) ";
- $vSQL .= " values ('$vuserid','$vusername','$vpassword') ";
- mysql_query($vSQL);
- echo "Record for $vuserid Saved!";
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement