RE: [PHP] Text boxes posted to MySQL record that contain quotes

From: Date: Wed, 09 Jul 2003 02:54:42 +0000
Subject: RE: [PHP] Text boxes posted to MySQL record that contain quotes
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-154474@lists.php.net to get a copy of this message
wow i've had this issue aswell only yesterday , like in my search page of the project i've just done i stored the search values of each option so that they can return bak to the search page and edit their search entry , anyway the fulltext search text input can contain quotes denoting exact phrase , this breaks in the textbox in fact even with addslashes like so \"some text\" it will show up in the text input box like so \ , how do we get around this ? -----Original Message----- From: Vernon [mailto:vernon@comp-wiz.com] Sent: Wednesday, July 09, 2003 12:50 PM To: php-general@lists.php.net Subject: [PHP] Text boxes posted to MySQL record that contain quotes I know that using stripslashes will remove \ using php but I'm having trouble with posting quotation marks in a text record field. Anyone know how I can get them to post to the database? It's basically like an email and I'd like anything written to be able to post. Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#154474) next »