Re: Storing Variable & Function Info

From: Date: Wed, 24 Jul 2002 01:23:54 +0000
Subject: Re: Storing Variable & Function Info
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-20734@lists.php.net to get a copy of this message
In article <20020723130946.566042c8.raquel@thericehouse.net>, raquel@thericehouse.net says... > I've run out of ideas. I want to store a variable name and a > function call in a text column of a MySQL database and have them > interpreted at runtime, but I can't figure out how to do it. > > Examples: > "This is the $nbrtimes you've asked." > and > "$answer is the square root of sqrt($nbr)." > > I've tried to figure out "eval()" but don't seem to be able to make > it work either. Any ideas? > > Perhaps if you can show what you have tried and the problem you have had, someone may be able to help you further. -- David Robley Temporary Kiwi! Quod subigo farinam

« previous php.db (#20734) next »