RE: [PHP] php mysql apostrophe issue

From: Date: Sun, 04 May 2003 16:12:26 +0000
Subject: RE: [PHP] php mysql apostrophe issue
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-146368@lists.php.net to get a copy of this message
It is within a textbox. What do you mean "look at your page source for the reason why?" -----Original Message----- From: John W. Holmes [mailto:holmes072000@charter.net] Sent: Sunday, May 04, 2003 12:11 PM To: 'Matt Palermo'; php-general@lists.php.net Subject: RE: [PHP] php mysql apostrophe issue > 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 (#146368) next »