Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $sql= "SELECT * FROM longPins WHERE singlePin LIKE '%".$userResponse."%' LIMIT 0, 30";
- $pinQuery=$db->query($sql);
- $pinAvailable=$pinQuery->fetch_assoc();
- if($pinAvailable=$pinQuery->fetch_assoc()) {
- //execute the code here
- } else {
- // ask the user to try again
- }
Add Comment
Please, Sign In to add comment