Is it possible to store PHP code in a MySQL database, and then when a page requires it, query the database for the code, and then execute?
I am developing a content management system for my company's intranet, wishing to allow admins to simply drop PHP code into an input box and store in the database for future execution. Yes I know I could just output the form to a file and then refer to the file, but database would be a little neater for what I require.
Is what I am asking of PHP possible? If so, how?