Hi
My code looks like this.
";
echo '';
?>
When i run it the bit after the quotes are truncated. Where it truncates
depends on what type of quote i am using.
Any ideas?
Thanks
Gerard
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
From: "Gerard L Petersen" <[EMAIL PROTECTED]>
> My code looks like this.
>
> $test = "gerard's name is \"gerard\"";
> echo $test."";
> echo '';
> ?>
Just like HTML doesn't render newlines, it also doesn't understand using the
\ character as an escape character. You are creating this:
So, HTML
> -Original Message-
> From: Gerard L Petersen [mailto:[EMAIL PROTECTED]
> Sent: 05 August 2003 14:56
>
> My code looks like this.
>
> $test = "gerard's name is \"gerard\"";
> echo $test."";
> echo '';
echo '';
Cheers!
Mike
PROTECTED]>
Sent: Tuesday, August 05, 2003 4:07 PM
Subject: Re: [PHP] Repopulating forms
> From: "Gerard L Petersen" <[EMAIL PROTECTED]>
> > My code looks like this.
> >
> > > $test = "gerard's name is \"gerard\"";
> &
4 matches
Mail list logo