Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $connection = mysqli_connect("localhost", "root", "", "elixia");
- $username = $_POST["username"];
- $password = $_POST["password"];
- $password = sha1($password);
- $sql = "INSERT INTO 'users' ('username', 'password', 'level', 'xp', 'xpcap',
- 'maxhealth', 'strength', 'critchance', 'critdmg', 'basedmg', 'hitrate')
- VALUES ($username, $password, '1', '0', '1000', '100', '50', '0', '25', '50', '1')";
- mysqli_query($connection, $sql);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement