Guest User

Untitled

a guest
May 26th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. $sql= "SELECT * FROM longPins WHERE singlePin LIKE '%".$userResponse."%' LIMIT 0, 30";
  2. $pinQuery=$db->query($sql);
  3.  
  4. $pinAvailable=$pinQuery->fetch_assoc();
  5.  
  6. if($pinAvailable=$pinQuery->fetch_assoc()) {
  7. //execute the code here
  8.  
  9.  
  10. } else {
  11.  
  12. // ask the user to try again
  13. }
Add Comment
Please, Sign In to add comment