If table have more than 100 (not sure about exact number) fields, trying to search in it shows SQL error saying:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 0, 30'
And PHP errors like this:
Notice in ./tbl_select.php#259
Undefined variable: max_number_of_fields
Notice in ./tbl_select.php#273
Undefined variable: where
On the test server there is a database named "jf" and table "players" with 179 fields in it (error displays). The same table is in attachment. You can try to reproduce the error with it.
I have to say that not every server displays the error, it is possible that some PHP settings could be the reason of this behavior.