'00:00:00' AND fsacars_rep_url IS NOT NULL AND zaliczenie = 'Niesprawdzony' ORDER BY date DESC, time DESC limit 5000"; $result = mysql_query($query); /* Determine the number of reports */ $number = mysql_numrows($result); if ($number > 0) { print "Do sprawdzenia $number lotów.

"; } else { print ""; } print ""; print ""; /* Close the database connection */ mysql_close(); php?>