Re: how to include() a string

From: Date: Sun, 29 Apr 2001 15:13:38 +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-50813@lists.php.net to get a copy of this message
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... > >If you can develop your application without using eval() you're > >better off as it is very slow. So, can think of faster solutions? Thanks, Luca

« previous php.general (#50813) next »