Hi,
I have follow PHP file test.php:
if ($action==)
{
echo FORM name=\pp\ action=\test.php\ method=\post\ ;
echo TEXTAREA name=\text\ rows=\5\ cols=\50\ maxlength=\250\
style=\width:350px\/TEXTAREA;
echo INPUT name=\send\ type=\submit\ style=\width:80px\ /INPUT;
echo INPUT name=\action\
On Fri, 17 May 2002, Rosen wrote:
// if in the input form I enter something with quotes, i.e. TEST
//here the value of $text is \TEST\ . The PHP send value to
me with backslah.
//
//How can I get the real entered, i.e. TEST ? Where is the problem ?
On Fri, May 17, 2002 at 09:40:36AM +0300, Rosen wrote:
// if in the input form I enter something with quotes, i.e. TEST
//here the value of $text is \TEST\ . The PHP send value to
me with backslah.
//
//How can I get the real entered, i.e. TEST ? Where is the problem ?
Turn magic_quotes off. Check the manual for full details.
or use stripslashes() ... rtm ;)
--
Dan Hardiker [[EMAIL PROTECTED]]
ADAM Software Systems Engineer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
4 matches
Mail list logo