daily pastebin goal
31%
SHARE
TWEET

Untitled

a guest Jan 22nd, 2018 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $conn = mysqli_connect($servername, $username, $password, $dbname);
  2.  
  3.  
  4. $sql = "SELECT * FROM TABLE WHERE date(sub_expire) > CURDATE() WHERE userid = '1'";
  5.  
  6. if (mysqli_query($conn, $sql)) {
  7. if($sql !='' )
  8. {
  9. echo "User is logged in";
  10. } else {
  11. echo "Error";
  12. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top