Hi there!
I have (for sofar) a small problem:
I have a site, with mySQL-backend, and an online
admin system.
The site is in three languages: 1 of them is German.
My poblem concerns the 'ß' (without quotes), and
probably more characters.
When an admin enters it in a textfield, and then
writes it into the DB, i use mysql_real_esca pe_string()
to prevent any mistakes. When an admin wants to edit
the record with the 'ß' in it, it's displayed just right
in the textfield, but when someone views it through a
regular page, they see & # 9 4 6 ; (without spaces...).
To display DB-contents in a page, i use
htmlentities(st ripslashes($str ing)).
Where is the flaw?
Thanks in advance!
I have (for sofar) a small problem:
I have a site, with mySQL-backend, and an online
admin system.
The site is in three languages: 1 of them is German.
My poblem concerns the 'ß' (without quotes), and
probably more characters.
When an admin enters it in a textfield, and then
writes it into the DB, i use mysql_real_esca pe_string()
to prevent any mistakes. When an admin wants to edit
the record with the 'ß' in it, it's displayed just right
in the textfield, but when someone views it through a
regular page, they see & # 9 4 6 ; (without spaces...).
To display DB-contents in a page, i use
htmlentities(st ripslashes($str ing)).
Where is the flaw?
Thanks in advance!
Comment