Re: [PHP4BETA] Include-like on strings
| From: | Maxim Podorov | Date: | Sun, 05 Mar 2000 08:51:06 +0000 |
| Subject: | Re: [PHP4BETA] Include-like on strings | ||
| References: | 1 2 3 4 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-11528@lists.php.net to get a copy of this message | ||
include()ed files are normal HTML files with "<?..?>"-formatted PHP
statements, while eval() reqiures pure PHP code (correct me). I think it
would be great to have a function that works like include() but on
strings (which can be stored in DB).
Andrei Zmievski wrote:
>
> I don't understand what you mean then.
> > No, eval() works in PHP-mode, I need HTML-mode.
> > > > Is there a function that works like include() but on strings, not on
> > > > files?
> > >
> > > eval()?