RE: localhost versus remote

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux