Re: [PHP] (//// === huh??)

2001-08-03 Thread David Robley

On Fri,  3 Aug 2001 14:07, Gerard Samuel wrote:
 In my script that puts out a form I have a drop down list which include
 == echo option$Education/option\n;
 echo optionBachelor's Degree/option\n;

 It uses a $PHP_SELF target.  After the form is submitted, on the new
 page, in the textbox I have Bachelor\\\'s Degree getting outputed by
 $Education and the more I submit the form the more \ I get.

 Any ideas as to how to clean this up?
 Thanks

Stripslashes()

Also see the magic_quotes_gpc setting in your ini file

-- 
David Robley  Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES  Flinders University, SOUTH AUSTRALIA  

   Skiier: Someone who pays an arm and a leg to break them.

-- 
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] (//// === huh??)

2001-08-03 Thread ReDucTor

$var = stripslashes($var);
- Original Message -
From: Gerard Samuel [EMAIL PROTECTED]
To: PHP [EMAIL PROTECTED]
Sent: Friday, August 03, 2001 2:37 PM
Subject: [PHP] ( === huh??)


 In my script that puts out a form I have a drop down list which include
==
 echo option$Education/option\n;
 echo optionBachelor's Degree/option\n;

 It uses a $PHP_SELF target.  After the form is submitted, on the new
 page, in the textbox I have Bachelor\\\'s Degree getting outputed by
 $Education and the more I submit the form the more \ I get.

 Any ideas as to how to clean this up?
 Thanks



 --
 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] huh??

2001-08-03 Thread Gerard Samuel

In my script that puts out a form I have a drop down list which include ==
echo option$Education/option\n;
echo optionBachelor's Degree/option\n;

It uses a $PHP_SELF target.  After the form is submitted, on the new
page, in the textbox I have Bachelor\\\'s Degree getting outputed by
$Education and the more I submit the form the more \ I get.

Any ideas as to how to clean this up?
Thanks




-- 
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] (//// === huh??)

2001-08-02 Thread Gerard Samuel

In my script that puts out a form I have a drop down list which include ==
echo option$Education/option\n;
echo optionBachelor's Degree/option\n;

It uses a $PHP_SELF target.  After the form is submitted, on the new
page, in the textbox I have Bachelor\\\'s Degree getting outputed by
$Education and the more I submit the form the more \ I get.

Any ideas as to how to clean this up?
Thanks



-- 
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]