Re: how to include() a string
| From: | Andi Gutmans | Date: | Sun, 29 Apr 2001 16:17:58 +0000 |
| Subject: | Re: how to include() a string | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-50815@lists.php.net to get a copy of this message | ||
At 05:13 PM 4/29/2001 +0200, Luca wrote:
Luca <lcb@freemail.it.nospam> wrote: Unfortunately eval() is not what I need. I was wrong. From a user contributed note in the online manual: "To include HTML in the string passed to eval, precede it with a PHP closing tag. Once you have finished your HTML block, insert a PHP opening tag." [the following note suggests that the trailing opening tag is not needed] I guess it answered my question. But...Sometimes eval() is the right solution. I can't think of a solution if I don't know *exactly* what you are trying to do and why you need eval(). AndiIf you can develop your application without using eval() you're better off as it is very slow.So, can think of faster solutions?