RE: [PHP] evaluating a variable
| From: | Matt Matijevich | Date: | Mon, 22 Dec 2003 19:47:39 +0000 |
| Subject: | RE: [PHP] evaluating a variable | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-173192@lists.php.net to get a copy of this message | ||
[snip]
Eval ($contentfunction); gave me a parse error:
Parse error: parse error in
/home/pickled/public_html/main/inc/html.php(145)
: eval()'d code on line 1
[/snip]
try to add a semicolon to the end of the variable $contentfunction =
"newsadmincontent();";