SHOW:
|
|
- or go back to the newest paste.
1 | $ip = $_SERVER['REMOTE_ADDR']; | |
2 | - | $sql = $mysqli->query( "INSERT INTO user (`username`, `password` `last_ip` `first_ip`) VALUES ('".$username."','".password_hash($password, CRYPT_BLOWFISH)."','".$ip."','".$ip."')"); |
2 | + | |
3 | $sql = $mysqli->query("INSERT INTO user (`username`, `password`, `last_ip`, `first_ip`) VALUES ('".$username."', '".password_hash($password, CRYPT_BLOWFISH)."', '".$ip."', '".$ip."')"); |