I am trying to execute the following MySQL query in PHP.
SELECT navigation.id,navigation.pagename_e,navigation.parent FROM navigation WHERE navigation.url ='/test' AND navigation.filename_e = 'index_e.php'
PHP returns 0 rows.
When I execute this query in Navicat for MySQL, 1 row is returned.
When I execute this query in the SQL window of PHPMyAdmin, 1 row is returned.
I edited the query, removing the "navigation.url ='/test' " condition, and the query works right. But I need the navigation.url condition.
Could this be because of the forward slash at the beginning of the field? If so, how do I take care of it so I can use it?
TIA,
Phil