Having Trouble With MYSQL String
Posted: Mon Nov 20, 2006 11:33 am
This is probably a simple problem, but I need a quick solution and I can't find it anywhere so far. The string below doesn't work:
anyone know what's wrong with my syntax? Thanks for any help.
Code: Select all
$sqlString = "SELECT DATA1, DATA2, DATA3 FROM TABLE WHERE DATA1 LIKE "%x%" AND WHERE DATA2 LIKE "%y%" AND WHERE DATA3 LIKE "%z%" ORDER BY DATA1 ASC";