I hava a problem with this mssql_query in PHP:
$query = 'SELECT Ville FROM tblLstManufacturiers where province = "Québec"';
The result is empty because I have an accent in Québec
How can I do this?
You could try:
Select Ville
From tblLstManufacturiers
where province like '%Québec%'
If it is a normal textfield this should work.
SELECT Ville
FROM tblLstManufacturiers
WHERE province = N'Québec' COLLATE Latin1_General_CS_AI
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.