In a PHP script, I execute a mysql SELECT query to find a word with the letter "é" in it, but it doesnt return the row. (it exists)
I am using
$result = mysqlQuery('SELECT name FROM `titles` WHERE name = "général" ');
in a PHP script.
mysqlQuery() is my own wrapper for executing queries, it works.
There's a record général in the table, when I use phpMyAdmin and execute the same query, it can find the row. But in the php script it doesnt return anything. I assume it has something to do with the encoding?