Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $con = mysql_connect('localhost','root');
- if (!$con)
- {
- die('Could not connect: ' . mysql_error());
- }
- mysql_select_db("Coupons", $con);
- $UserName = $_POST['UserName'];
- $Password = $_POST['Password'];
- mysql_query("UPDATE Users Set User='$UserName' WHERE User=$UserName'");
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement