On Mon, Sep 29, 2003 at 05:46:15PM -0400, Matt Palermo wrote:
: 
: I have a form that a user can fill out.  In the text input field I allow
: them to insert HTML tags with their input data.  They can then submit the
: form for processing.  The problem is that later on when they go to edit
: their inputs (I initialize the text input with their previously submitted
: input) and they have HTML tags with double quotes, the it will only put
: characters up to the first double quote inside the input box and the rest
: will go outside of it.  I would like the text box to contain everything they
: previously submitted to be displayed there.  Does anyone know of an easy way
: to allow the double quotes to be initially inserted into the input box?

Look at htmlentities() or htmlspecialchars().

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to