Sunday, 15 April 2012

php - Foreign characters - saving to database? -



php - Foreign characters - saving to database? -

this question has reply here:

save accents in mysql database 8 answers

i have words in fields:

Überblick

when save them database becomes:

Ãberblick

i have tried:

htmlspecialchars $db->escape mysql_real_escape_string

what right solution saving mysql database using php?

do following, after initialising connection: mysqli_set_charset("utf8");

php mysql

No comments:

Post a Comment