You can save the string to, say, "temp.php" and then use
include("temp.php").
--
Jovan Sedlan
[EMAIL PROTECTED]
http://www.sedlan.com
#7 Components Home
"Aviv Revach" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hey!
>
> At 14:29 02/03/01 -0300, Lucas Persona wrote:
> >Hy there!
> >
> >Aviv Revach wrote:
> > > How can I make those php3 commands to work as they supposed
to?
> >
> > Take a look at the eval() function
> >http://www.php.net/manual/en/function.eval.php
> > It does exactly what you are looking for...
>
> Actually it doesn't. My string does not(!!) contains only php
code.
> It contains HTML tags, text, and php code (called with <?php
?>).
>
> Now, What should I do in order to run both the html tags and
the php commands
> in it?
>
>
> Thank you in advance -
>
> Aviv Revach
>
> BRILLIANeT Website -
> http://www.brillianet.com/
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail:
[EMAIL PROTECTED]
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]