can someone explain me wy the folowing query dosn''t work
because i want to select only where the values are 1 , 2 , 3 , 4 and so ond and count these rows
$link = mysql_connect("localhost", "bla", "bla");
mysql_select_db("db", $link);
$result = mysql_query("SELECT * FROM narr_turnier_".$onlyconsonants." WHERE startnummer <> '0-1' and startnummer <> '0-2' startnummer <> '0-3' && turnier_jaar='$jaarnu'", $link);
$num_rowszondersterz = mysql_num_rows($resulttacz);
this gives me the folowing error
Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in .... on line ...
thanks i advice
John