Guest User

Untitled

a guest
Dec 17th, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. foreach ($aData as $p_id=>$p_ip) {
  2. $p_req = "SELECT ip FROM base WHERE ip='".$p_ip."'";
  3. $p_res = mysqli_query($db,$p_req);
  4. if ($p_res) {
  5. if (mysqli_num_rows($p_res)==0) $p_row[] = $aData[$p_id];
  6. mysqli_free_result($p_res);
  7. }
  8. }
Add Comment
Please, Sign In to add comment