RE: [PHP] Running php code inside of a string within a php script..

2001-03-05 Thread Tim Ward
this message: http://www.stivesdirect.com/e-mail-disclaimer.html > -Original Message- > From: Aviv Revach [mailto:[EMAIL PROTECTED]] > Sent: 01 March 2001 18:02 > To: Lucas Persona; php-list > Subject: Re: [PHP] Running php code inside of a string within a php > script..

Re: [PHP] Running php code inside of a string within a php script..

2001-03-04 Thread Jovan Sedlan
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 Perso

Re: [PHP] Running php code inside of a string within a php script..

2001-03-02 Thread Aviv Revach
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... Actuall

Re: [PHP] Running php code inside of a string within a php script..

2001-03-02 Thread Lucas Persona
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... See you, -- Lucas PersonaICQ #17635618 [E

[PHP] Running php code inside of a string within a php script..

2001-03-02 Thread Aviv Revach
Hello! I'm facing a problem. Inside of a php3 script - I have a string that contains html code as well as php3 code. At start, when I tried ECHOing the string to screen, the php commands weren't activated and viewing the source of the generated page allowed me to see that they were just left