Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $con = mysql_connect("localhost","swichers_tagn","wichers90");
- if (!$con)
- {
- die('Could not connect: ' . mysql_error());
- }
- mysql_select_db("swichers_jo151", $con);
- $sql="INSERT INTO jos_users
- (id, name, username, usertype, block, sendEmail, gid)
- VALUES
- ('{$uinfo['id']}', '{$uinfo['name']}', '{$uinfo['username']}', 'Registered', 0, 1, 18)";
- mysql_close($con);
- if (!mysql_query($sql,$con))
- {
- die('Error: ' . mysql_error());
- }
- echo "1 record added... BOOM BABY!!!";
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement