Justtechjobs.com Find a programming school near you






Online Campus Both


php-db | 2001072

[PHP-DB] retrieving special characters from MySQL From: Andrew (ablew <email protected>)
Date: 07/23/01

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

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe <email protected>
For additional commands, e-mail: php-db-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>