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 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 appreciateddriving me nuts.
> > 
> > 
> 
> The Ouji board:  'check line 47' (but then it always sez that).
> How about posting some code ?
> 
> Regards,
> -- 
> Don Read   [EMAIL PROTECTED]
> -- It's always darkest before the dawn. So if you are going to 
>steal the neighbor's newspaper, that's the time to do it.
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




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
> 
> Any help would be very very very very appreciateddriving me nuts.
> 
> 

The Ouji board:  'check line 47' (but then it always sez that).
How about posting some code ?

Regards,
-- 
Don Read   [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to 
   steal the neighbor's newspaper, that's the time to do it.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




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 appreciateddriving me nuts.


> 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 escape this
> > > charecter upon
> > > insert?
> >
> >
> >
> >
> 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[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 escape this
> > charecter upon
> > insert?
>
>
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[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, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]