[phorm] Re: [Phorm:] Strip \

  • From: "Mick" <mick@xxxxxxxxxxxx>
  • To: <phorm@xxxxxxxxxxxxx>
  • Date: Wed, 30 Jun 2004 09:52:32 -0700

Marc wrote :
> Is there anyway to strip \ in the data to post to sql and text file?

Yep, just replace $comments below with your field name and place this in your
config file :

$comments = stripslashes($comments);

Mick



-------------------------------------------------
You are receiving this message because you are subscribed to the Phorm mailing 
list. To send messages to the mailing list, simply send email to 
phorm@xxxxxxxxxxxxx from the address you have subscribed. You may unsubscribe 
from the list by sending email to phorm-request@xxxxxxxxxxxxx with 
'unsubscribe' in the SUBJECT field.

Other related posts: