Sunday, 15 May 2011

php - Mysql special characters not updating correctly -


I have updated a column with a value in a table

"Size: Rabbit Inside: 31 ½ "x 50 ¼" Rabbit min 3/8 "

. But it was updated

"Size: Rabbit inside: 31 half" x 50 ¼ "Rabbit min 3/8".

When I put the query into phpmyadmin, it gets updated correctly.

Thank you, A. John Melchior.

I have successfully inserted the given text from phpmyadmin I have added "and then the string Insert inside This is the query I've used: Enter the value in the sample_table (`user_input`)

  value ('' size: inside the rabbit: 31 ½" x 50 ¼ "rabbit min 3 / 8 "');  

No comments:

Post a Comment