On Fri, 16 Jul 2004, Justin Patrin wrote:

> This is why he said: "Since you seem to have magic_quotes_gpc enabled,
> you can put the value directly into your query."
>
> You shouldn't use htmlentities when putting it into the DB. Use it
> when displaying the text.

 I tried it both ways and it only works correctly when I do use
htmlentities($_POST['text']) in my insert query. I'm not showing the text
to the user on page 3 at all.

Ed

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

Reply via email to