For some reason the DBA put "ç" on behalf of Mysql database tables and now I can not do select in those tables from php:
$conn = new mysqli($servername, $username, $password, $dbname);
$sql="select * from Tbl_login";
$result = $conn->query($sql);
The select wheel. But the:
$conn = new mysqli($servername, $username, $password, $dbname);
$sql="select * from Tbl_OrdemServiço";
$result = $conn->query($sql);
It does not get results ... but if I run this select on the bank it does.
Among the various tests I did I also gave this error:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' o' at line 1
Can anyone help me?