[FX.php List] Displaying & Updating comments

Erik Andreas Cayré erik at cayre.dk
Fri Jul 21 14:36:01 MDT 2006


Den 18/07/2006 kl. 19.29 skrev AC:

> If the user types
> a'a"a\a
> into the comment field, then the database will contain the text
> a\'a\"a\\a

When I started with FX.php, I had some problems which were similar to  
the ones you describe here.

After a while I got a suggestion to use UTF-8 in my web page, and all  
trouble just *disappeared*
I didn't have to do any conversion at all between user input and  
database contents...

I'm not certain this pertains to you but it's worth a try?

Like this:

	<meta http-equiv="content-type" content="text/html; charset=utf-8">


---
Erik Andreas Cayré
Spangsbjerg Møllevej 169
DK-6705 Esbjerg Ø

Home Tel: +45 75150512
Mobile: +45 40161183


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1856 bytes
Desc: not available
Url : http://www.iviking.org/pipermail/fx.php_list/attachments/20060721/f9088bbc/smime.bin


More information about the FX.php_List mailing list