Storing Variable & Function Info

From: Date: Tue, 23 Jul 2002 20:09:46 +0000
Subject: Storing Variable & Function Info
Groups: php.db 
Request: Send a blank email to php-db+get-20730@lists.php.net to get a copy of this message
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? -- Raquel ============================================================ They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. --Benjamin Franklin

« previous php.db (#20730) next »