[PHP] Execute mixed php code from mysql?

2001-07-31 Thread Kyle
For example I have in a database: - In database: htmlheadtitlewelcome/title/head body ? if ($something == 'hello') { echo 'do somethoing'; }? -- Also in Database: /body/html --- Now how could i make it so that

Re: [PHP] Execute mixed php code from mysql?

2001-07-31 Thread mike cullerton
the way i have solved this is to have another column of data_type. switch ($data_type) { case php: exec($data); break; case html: include($data); break; } mike on 7/31/01 3:24 PM, Kyle at [EMAIL PROTECTED] wrote: For example I have in a database: