retrieving special characters from MySQL

From: Date: Mon, 23 Jul 2001 12:45:19 +0000
Subject: retrieving special characters from MySQL
Groups: php.db 
Request: Send a blank email to php-db+get-10663@lists.php.net to get a copy of this message
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 (#10663) next »