I am having problems.. the query works just like this when I run it in mysql or access. but I get a parse error everytime when called from PHP.. below the problem code are other lines that do work, but every time I qualify the string with " " it fails.. please help
//doesn't work
$cur= odbc_exec( $cnx, "SELECT * FROM data WHERE (((data.salesrep)="Steve Rodda"))");
//does work
$cur= odbc_exec( $cnx, "SELECT * FROM data WHERE id = 5");
//does work
$cur= odbc_exec( $cnx, "SELECT * FROM data");
Please help me out.
Thanks for the help in advance.
Steve