Forum Moderators: coopster

Message Too Old, No Replies

Evaluate PHP Stored in MySQL Database

how do i evaluate php content stored in a mysql database

         

basilcrow

12:40 am on Apr 18, 2003 (gmt 0)



currently, i have my page content for my website stored in a mysql database and echoed out through php. but, if i put any php commands in the mysql database, they are simply echoed out too without being evaluated. so, how can i put php commands in my sql database AND have them evaluated as regular PHP before returned to the user?

thanks,

basil

eaden

12:54 am on Apr 18, 2003 (gmt 0)

10+ Year Member



just use eval() ( [php.net...] ) to evaulate the code :)

jatar_k

1:24 am on Apr 18, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



and Welcome to WebmasterWorld basilcrow