RE: [PHP] php mysql apostrophe issue

From: Date: Sun, 04 May 2003 16:10:48 +0000
Subject: RE: [PHP] php mysql apostrophe issue
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-146366@lists.php.net to get a copy of this message
> Okay, I don't need to replace it, but now when I am getting the info > from the mysql database that has an apostrophe in it, it just cut's off > everything from the apostrophe on. For example, I am reading in a field > that contains "I like my dad's haircut." But then I go to output it, and > it reads, "I like my dad" Any ideas? No, not right off hand. How are you displaying the data? A simple echo or within a text box? If it's a text box, look at your page source for the reason why. ---John W. Holmes... PHP Architect - A monthly magazine for PHP Professionals. Get your copy today. http://www.phparch.com/

« previous php.general (#146366) next »