Re: retrieving special characters from MySQL

From: Date: Mon, 23 Jul 2001 15:19:28 +0000
Subject: Re: retrieving special characters from MySQL
References: 1 2  Groups: php.db 
Request: Send a blank email to php-db+get-10682@lists.php.net to get a copy of this message
THX to everyone for the help!!! "Steve Brett" <steve.brett@e-mis.com> wrote in message news:20010723124825.39655.qmail@pb1.pair.com... > pull it out then use stripslashes() as you display it ... > > Steve > > "Andrew" <ablew@bigpond.net.au> wrote in message > news:20010723124443.37394.qmail@pb1.pair.com... > > Hi, I'm having trouble getting special characters out of MySQL using php > > 4.06. > > > > I add a field like "McDonald's" from PHP and in mysql client I can see the > > entry (McDonald's) is put into the database correctly. However the problem > > arises when I query it and it prints out (McDonald\'s). Is there any way > for > > php to pull out the string as it is in the database without putting in the > > escape character ( \ ) ???? > > > > thx > > > > > >

« previous php.db (#10682) next »