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

From: Date: Fri, 08 Nov 2002 18:46:04 +0000
Subject: Re: How to echo the end marker '?>'
References: 1 2  Groups: php.general php.windows 
Request: Send a blank email to php-general+get-123454@lists.php.net to get a copy of this message
If you're trying to get a LITERAL ?> Use &gt; for your > symbol so that you have ?&gt; I also noticed you didn't have a <? at the beginning of your string, so use &lt;? for that. Does this help? John W. Holmes wrote:
subject's allready my question ! I want to echo something like : " action = \",?php echo $PHP_SELF ?> \" >" so that the action becomes 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 ? Maybe I don't understand... but, echo "\" >"; ---John Holmes...


« previous php.general (#123454) next »