> MySQL Error: You have an error in your SQL syntax near 'Field2 LIKE '%%' > Field3 LIKE '%%' ORDER BY ' at line 2 > SQL: SELECT * FROM airline_a WHERE Field1 LIKE '%%' Field2 LIKE '%%' > Field3 > LIKE '%%' ORDER BY You need some ANDs between each of your field LIKE '%%' clauses. WHERE field1 LIKE '%%' and field2 LIKE '%%' ... ---John Holmes... -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php