Hi,
I have a very symple query that gives me a headache..
The query in php:
$query = "select * from ".$address_table." WHERE `ad_id` =$adress_to_update";
parsed:
select * from ne_cm_addresses WHERE `ad_id` =1
Which gives me:
MySQL said: Documentation
#1064 - Er is iets fout in de gebruikte syntax bij 'select * from ne_cm_addresses WHERE ad_id =1' in regel 1
PhP script encoding:
UTF8 without BOM
MySQL database:
utf8_unicode_ci
Anybody know what might be happening? (Obviously, the table & column exist)