Hi,

> I want to evaluate the code in $php_code to *another* string...

you have to do it through output buffering:

  ob_start();
  eval($php_code);
  $another_string=ob_get_contents();
  ob_end_clean();


Rgds,
  Tfr

  --==< [EMAIL PROTECTED] >==< http://tfr.cafe.ee/ >==< +372-50-17621 >==-- 

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

Reply via email to