Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, bool given in /home/wmsgzphq/public_html/system/ajax/add_serf.php on line 10
Код 10 строки:
$checksinf = mysqli_num_rows($db->query("SELECT * FROM `serf` WHERE users = '$_SESSION[login]' AND status != '1'"));