Re: Problems with a INSERT of a textarea
Delta:
Thanks for all the help. Finally got this to work properly. What I ended up doing was using the php function addslashes
http://www.php.net/addslashes . This function adds backslashes infront of single quote, double quote, backslash and NUL.
With this I am able to get the INSERT to properly work.
Thanks for the help. The pointers got me going in the right direction.
Raf
delta wrote:
> Run the text through
>
http://us2.php.net/mysql_real_escape_string which
> will return a properly escaped string. You could
> do it by hand with str_replace but
> mysql_real_escape_string does it all for you.
Subject
Written By
Posted
November 16, 2004 11:28PM
November 17, 2004 12:48AM
November 17, 2004 10:19AM
November 17, 2004 10:57AM
Re: Problems with a INSERT of a textarea
November 17, 2004 10:26PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.