Squito

Untitled

Oct 20th, 2020
754
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?PHP
  2. $fuserdata=mysqli_fetch_array(mysqli_query($con, "SELECT count(id) FROM fuser WHERE cid=".$cid." AND uid=".$uid." AND read=0"), MYSQLI_NUM);
  3. if($fuserdata[0]>0)
  4. {
  5.   echo "unread";
  6. }
  7. else
  8. {
  9.   echo "read";
  10. }
RAW Paste Data