how to use php code stored in mysql database?
Moderator: General Moderators
how to use php code stored in mysql database?
I was wondering how to use php code stored in mysql database? 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?