RE: [PHP] evaluating a variable

From: Date: Mon, 22 Dec 2003 19:56:56 +0000
Subject: RE: [PHP] evaluating a variable
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-173193@lists.php.net to get a copy of this message
On Mon, 2003-12-22 at 12:43, Carey Baird wrote: > 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 > > > $$contentfunction didn’t output anything > > Any other ideas? What are you trying to do exactly? Looking at your code again maybe you want: $contenctfunction(); - Brad

« previous php.general (#173193) next »