|
Posted by Daniel Loose on 08/24/05 21:16
Hello,
I have this strange including problem:
I want to read a piece of HTML, residing in some file, into a
variable, not echo it out. So far so easy - but now the HTML contains
a line of PHP. And I wish not to get the PHP code into my variable but
the parsed result, just like if the variable was a client ;-). I wish
to keep the nice ?> ...<? HTML area (with highlighting in my editor),
and therefore include etc. don't help because they would echo it out.
heredoc also doesnt help (if this may come up to your mind).
Is there anything I can do...?!! The problem sounds so simple... the
more for such a great tool like PHP ... but... ?!!
Thanx a lot,
Daniel
PS Please post also if you know for sure that there is NO solution to
my problem
Navigation:
[Reply to this message]
|