Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if ( $login != "" && $password != "" ) {
- // Prepare the statement
- $pullLogin = $link->prepare("SELECT hashed_password FROM users WHERE (username = '?' OR email='?')");
- // Check Prepare
- if ( !$pullLogin->prepare() ) { echo "<script>console.log('Prepare failed: ($pullLogin->errno) $pullLogin->error');</script>"; }
- if ( $login != "" && $password != "" ) {
- // Prepare the statement
- $pullLogin = $link->prepare("SELECT hashed_password FROM users WHERE (username = '?' OR email='?')");
- // Check Prepare
- if ( !$pullLogin ) { echo "<script>console.log('Prepare failed: ($pullLogin->errno) $pullLogin->error');</script>"; }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement