[PHP] Re: escaping special charecters upon submit

2001-08-25 Thread idesign
I have a form that submits data to a database, works great until someome puts in an apostrophe in the comments area...how do i escape this charecter upon insert? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

[PHP] Re: escaping special charecters upon submit

2001-08-25 Thread Andy Ladouceur
http://www.php.net/manual/en/function.addslashes.php That should work fine. -Andy [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I have a form that submits data to a database, works great until someome puts in an apostrophe in the comments area...how do i

Re: [PHP] Re: escaping special charecters upon submit

2001-08-25 Thread idesign
Tried addslashes also urlencode, neither worked... the input is from a comment area in a form...that adds data to a mysql database...the comments contain commas and apostrphes, that when you try to subit, screw up the execution of the insert Any help would be very very very very

Re: [PHP] Re: escaping special charecters upon submit

2001-08-25 Thread Don Read
On 26-Aug-2001 [EMAIL PROTECTED] wrote: Tried addslashes also urlencode, neither worked... the input is from a comment area in a form...that adds data to a mysql database...the comments contain commas and apostrphes, that when you try to subit, screw up the execution of the insert

Re: [PHP] Re: escaping special charecters upon submit

2001-08-25 Thread idesign
mine always says ask don lol...actually got it figured out right after muy last post rawurlencode worked great Thanks though! On 26-Aug-2001 [EMAIL PROTECTED] wrote: Tried addslashes also urlencode, neither worked... the input is from a comment area in a form...that adds data