Re: [PHP3] foreign charcaters

From: Date: Fri, 30 Jun 2000 19:33:37 +0000
Subject: Re: [PHP3] foreign charcaters
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-4120@lists.php.net to get a copy of this message
In article <00062011120601.16798@jolly.mpipks-dresden.mpg.de>, aardvark@mpipks-dresden.mpg.de (Reiner Peterke) wrote: > i have data in my data base that contains german umlaut characters in html > format. ie v = '&ouml;' > the semicolon causes my statments to be abnormally terminated. when i try a > mysql> select name, replace(name,'&ouml;','v') from info; > i get the following error Maybe try str_replace(';', '\;', $sql) before you insert it... -- Richard Lynch | If this was worth $$$ to you, buy a CD US Customer Support Director | from one of the artists listed here: Zend Technologies USA | http://www.L-I-E.com/artists.htm http://www.zend.com | (this has nothing to do with Zend, duh!)

« previous php.general (#4120) next »