Store PHP Code in MySQL?

From: Date: Tue, 19 Jun 2001 21:23:03 +0000
Subject: Store PHP Code in MySQL?
Groups: php.general 
Request: Send a blank email to php-general+get-54426@lists.php.net to get a copy of this message
I've been playing a little bit trying to store some PHP code in MySQL and get it to execute. However, it behaves just like expected in that it just displays the code, and doesn't execute it. Essentially, i want to do this: <? while($data = mysql_fetch_array($result)) { echo $data["text"]; } ?> With $data["text"] containing: <? echo $var; ?> Anybody know a way to actually make this work? Thanks, Joe

« previous php.general (#54426) next »