RE: [PHP] How to echo the end marker '?>'
| From: | John W. Holmes | Date: | Fri, 08 Nov 2002 18:38:48 +0000 |
| Subject: | RE: [PHP] How to echo the end marker '?>' | ||
| References: | 1 | Groups: | php.general php.windows |
| Request: | Send a blank email to php-general+get-123451@lists.php.net to get a copy of this message | ||
> subject's allready my question ! I want to echo something like :
"<form
> 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 "<form action=\"<? echo \$PHP_SELF ?>\" >";
---John Holmes...