please look at this piece of code
$result=mysql_db_query($SQLDB,"SELECT * FROM cennik WHERE miasto LIKE '$cel%' ORDER BY id_wylot, $sorti LIMIT $offset,$count ");
}
$row = (mysql_num_rows($result))
this works very good with php3 but with php4 there is error
Warning: Supplied argument is not a valid MySQL result resource in /home/public_html/search/library1.inc on line XX
When I remov everything after '$cel%' code is working!
Please tell me how to resolve that problem!!