Jump to content

My last open question about PHP for past 6 years.


tdobrotka

Recommended Posts

Helo Everybody, I would like to ask this.

 

Is there some function that will parse PHP code and then execute it?

I would like to use it for including of dynamic content stored in 'string'.

 

For example  (I named the function execute_php_code(); ):

 

<?

$some_php_code="<?echo('Hello world!');?>";

execute_php_code($some_php_code);

?>

 

Is there some default function that is actling like that? Thanks

 

Tomas

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.