SpiderPhp

Just another WordPress weblog

How To Use Php Code Stored In Mysql Database?

Posted Sunday, July 5th, 2009
Tags: , , ,
Posted in Uncategorized | 2 Comments »

I know how pull data from the database but I have stored within the a mysql field some text data. Within that that text I have put in some php variables. The problem is that when the browser renders the data that pulled from my sql, the variable stays as $user for example rather than changing to what I needed to. Is there any way to have the server process the php code stored within the mysql database?