Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- include ('config.php');
- $username = $_POST('username');
- $password = $_POST('password');
- $encrypted_password = md5($password);
- $count = $dbconnect->prepare("INSERT INTO members (username, password) VALUES (':username', ':encrypted_password')");
- $count->execute(array(':username' => $username, ':encrypted_password' => $encrypted_password));
- ?>
Add Comment
Please, Sign In to add comment