Re: mysql_query() problem with special characters

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When displaying the data in html use the function htmlspecialchars

http://www.php.net/manual/en/function.htmlspecialchars.php

"Mika Salminen" <mika@salhydro.fi> escribió en el mensaje
20030407154331.50694.qmail@pb1.pair.com">news:20030407154331.50694.qmail@pb1.pair.com...
> I have problems with retrieving data from MySQL-database with
> mysql_query-function. Characters with accent ÄÅÖäåö for example don't look
> like they should and if I make queries with string these characters in the
> string I don't get any results altough with mysql default client gives me
> results and everything works fine. The database (MySQL 4.0) is configured
to
> use ISO 8859-1 and default-value for characterset in php.ini (PHP ver 4.3)
> is ISO 8859-1. So what could be wrong ?
>
> -Mika
>
>
>



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux