Re: [PHP-DB] Passing form values with quotes, to itself

2002-02-14 Thread Faye Keesic
;[EMAIL PROTECTED]> > Date: Thu, 14 Feb 2002 21:50:25 - > To: "Jim Lucas [php]" <[EMAIL PROTECTED]>, "William Fong" > <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> > Subject: RE: [PHP-DB] Passing form values with quotes, to itself > > Hi >

RE: [PHP-DB] Passing form values with quotes, to itself

2002-02-14 Thread Peter Lovatt
[php] [mailto:[EMAIL PROTECTED]] > Sent: 14 February 2002 18:34 > To: William Fong; [EMAIL PROTECTED] > Subject: Re: [PHP-DB] Passing form values with quotes, to itself > > > it is called magic quotes and it can be enabled through the php.ini file. > > Jim Lucas > - Origi

Re: [PHP-DB] Passing form values with quotes, to itself

2002-02-14 Thread Jim Lucas [php]
it is called magic quotes and it can be enabled through the php.ini file. Jim Lucas - Original Message - From: "William Fong" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 13, 2002 10:36 AM Subject: Re: [PHP-DB] Passing form values

Re: [PHP-DB] Passing form values with quotes, to itself

2002-02-13 Thread William Fong
7 Wireless #: 805.490.7732| Wireless E-mail: [EMAIL PROTECTED] - Original Message - From: "David Fudge" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 13, 2002 10:12 AM Subject: Re: [PHP-DB] Passing form values with quotes, to itself : before y

Re: [PHP-DB] Passing form values with quotes, to itself

2002-02-13 Thread Jim Lucas [php]
D]> Sent: Wednesday, February 13, 2002 10:12 AM Subject: Re: [PHP-DB] Passing form values with quotes, to itself > before you submit to the db, you have to escape the quotes like this: > > $Body = addslashes($Body); > all " " will show up as \" \" > and '

Re: [PHP-DB] Passing form values with quotes, to itself

2002-02-13 Thread Jim Lucas [php]
Try this. That should to the job. Jim Lucas - Original Message - From: "Faye Keesic" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 13, 2002 10:02 AM Subject: [PHP-DB] Passing form values with quotes, to itself > Hi there. > > I have a form that contains severa

RE: [PHP-DB] Passing form values with quotes, to itself

2002-02-13 Thread Rick Emery
try: "> Also, please include a sample field value and the results of our tests -Original Message- From: Faye Keesic [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 13, 2002 12:03 PM To: [EMAIL PROTECTED] Subject: [PHP-DB] Passing form values with quotes, to itself Hi there. I hav

Re: [PHP-DB] Passing form values with quotes, to itself

2002-02-13 Thread David Fudge
before you submit to the db, you have to escape the quotes like this: $Body = addslashes($Body); all " " will show up as \" \" and ' ' will be \' \' when you pull the info from the db, you'll have to use "stripslashes()" to remove those you put in. $Body = stripslashes($Body_from_db); - Ori