Dealing with Quotation marks

From: Date: Fri, 08 Feb 2002 16:35:16 +0000
Subject: Dealing with Quotation marks
Groups: php.db 
Request: Send a blank email to php-db+get-16701@lists.php.net to get a copy of this message
Does anyone know how to deal with this problem? If a user enters in a text box; O'Connor's 2" x 3" When you print it out on the next web page it reads; O\'Connor\'s 2\" x 3\" I have written a function to take care of this, but when you try to write it to the database you get an error of unmatched quotation marks. Is there a function to handle this? Any help would be appreciated. Thanks, Gary

« previous php.db (#16701) next »