Jump to content

Handling DB data as PHP?


random1

Recommended Posts

Hi All,

 

I currently have page content in a MySQL database and it is being displayed on the page as HTML.

 

Is there a PHP function that I can use to tell PHP to handle it as PHP?

 

e.g.

 

echo('example'); <---- stored in database field

 

prints out:

 

echo('example');

 

instead of:

 

example

Link to comment
https://forums.phpfreaks.com/topic/122493-handling-db-data-as-php/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.