Re: How to echo the end marker '?>'

From: Date: Fri, 08 Nov 2002 13:54:13 +0000
Subject: Re: How to echo the end marker '?>'
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-123377@lists.php.net to get a copy of this message
Hello, "Petre Agenbag" <internet@vsa.co.za> wrote: > I'm just curious. Me, too. :) > Why do you want to echo within an echo? > echo '<form action="'.$PHP_SELF.'">'; > will do the trick won't it? True. > Unless I miss the point, I cannot see why you need to open new php tags > for this? But, if there's a special reason... > > >echo $PHP_SELF ?> !! But I can't figure out how to escape ?> so that the > > > interpreter doesn't take it as the end of the script ! Any idea ? Well, we can use &lt; instead of < and &gt; instead of > , etc... - E ...[snip]...

« previous php.general (#123377) next »