;[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
>
[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
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
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
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 '
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
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
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