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,
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
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
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
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
5 matches
Mail list logo