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 "<option>Bachelor'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]