quotes in text.

From: Date: Fri, 16 Jul 2004 16:01:59 +0000
Subject: quotes in text.
Groups: php.general 
Request: Send a blank email to php-general+get-190725@lists.php.net to get a copy of this message
I'm having some difficulty with quotation marks, both single and double, input via a textarea in a form. Here's and example of text. Trying out the "Special Character" thing. Page 1 is the form. Page 2 is the data shown back to the user. original POST data is not touched. NO stripslashes original typed text is show to the user by stripslashes($thistext) original POST data is transferred to next page via hidden input field without stripping slashes. Page 3 posts the data to a MySQL database. original POST data is not touched. No stipslashes. Text gets cut off in database (Trying out the) What exactly do I need to do to the text so that any quotation marks (single or double) get input into the database. TIA, Ed Curtis

« previous php.general (#190725) next »