Re: [PHP4BETA] Include-like on strings

From: Date: Tue, 07 Mar 2000 16:01:05 +0000
Subject: Re: [PHP4BETA] Include-like on strings
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-11681@lists.php.net to get a copy of this message
Alexander Aulbach wrote: > Think he means something like: > <?php > $bla=" > <? > ## some PHP code > ?> > <!-- some HTML --> > "; > evalude($bla); # :-> > ?> Yes. To "include" HTML-PHP-mixed strings (like common files). > > First way to write self modifing code... :> Where is modifying? > > In my eyes this is not a very senseful construct, cause once implemented > it would be used for things which can be implemented in another way much > cleaner. There is no "must" for such a function. I want to write mixed HTML and PHP code and save it into database, not in files. What is THE RIGHT way?

« previous php.version4 (#11681) next »