if (!$result) { $message .= 'Whole query: ' . $qry; } if ($num_rows == 0) { return; } else
var_dump zwraca
I zaraz w while wyskakuje mi blad:
Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in E:\xampp\htdocs\carpl\ajax\sessionValidation.php on line 42
W jakis automagiczny sposob nastepuje konwersja z Resource na Bool wtf? - Ale pewnie juz pozno jest i ja czegos juz nie widze....