Re: [PHP] How to echo the end marker '?>'

2002-11-08 Thread Jason Young
If you're trying to get a LITERAL ?> Use > for your > symbol so that 
you have

?>

I also noticed you didn't have a 

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...




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] How to echo the end marker '?>'

2002-11-08 Thread John W. Holmes
> 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...



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] How to echo the end marker '?>'

2002-11-08 Thread @ Edwin
Hello,

"Petre Agenbag" <[EMAIL PROTECTED]> wrote:
> I'm just curious.

Me, too. :)

> Why do you want to echo within an echo?
> echo '';
> 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 < instead of < and > instead of > , etc...

- E

...[snip]...

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] How to echo the end marker '?>'

2002-11-08 Thread Petre Agenbag
I'm just curious.
Why do you want to echo within an echo?
echo '';
will do the trick won't it?
Unless I miss the point, I cannot see why you need to open new php tags
for this?




On Fri, 2002-11-08 at 14:25, Ernest E Vogelsinger wrote:
> At 12:15 08.11.2002, Philipp Bolliger spoke out and said:
> [snip]
> >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 ?
> [snip] 
> 
> Try 
> 
> echo '';
> 
> This should work (untested)
> 
> 
> -- 
>>O Ernest E. Vogelsinger 
>(\) ICQ #13394035 
> ^ http://www.vogelsinger.at/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] How to echo the end marker '?>'

2002-11-08 Thread Ernest E Vogelsinger
At 12:15 08.11.2002, Philipp Bolliger spoke out and said:
[snip]
>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 ?
[snip] 

Try 

echo '';

This should work (untested)


-- 
   >O Ernest E. Vogelsinger 
   (\) ICQ #13394035 
^ http://www.vogelsinger.at/



[PHP] How to echo the end marker '?>'

2002-11-08 Thread Philipp Bolliger
Hi everyone,

subject's allready my question ! I want to echo something like : " \" >" so that the action becomes  !! 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 ?

cheers, phibo


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php