MySQL Forums
Forum List  »  Perl

HTML's escape characters giving errors
Posted by: George Dawson
Date: June 28, 2007 03:56PM

When doing an insert,

 INSERT INTO `recipe_recipes` VALUES 
(3,'37°F or purÉe') ;
I get an error. Why? And how do I get around it?
I am trying to insert the degrees character and the accented 'e'.

I have discovered that the CHAR(176) represents the degrees character, but how do I include that in a string in an INSERT statement?
'98.6'CHAR(176)'F'
will not work.

Any ideas?

Thanks



Edited 2 time(s). Last edit at 06/29/2007 08:13AM by George Dawson.

Options: ReplyQuote


Subject
Written By
Posted
HTML's escape characters giving errors
June 28, 2007 03:56PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.