My First CMS type Web App
Posted: Mon Mar 19, 2007 6:48 pm
Hey guys... quick question regarding the design of a web app I am creating.
This web app is a CMS-type application that will allow me (super-admin) to create various pages that host all kinds of different content, from videos to music to articles.
The problem I am running into is that I would like to have complete control over the look and feel of each individual page that is created. So what I was thinking about was in the admin section where I actually setup each page, have a <textarea> input where I can just copy and paste all the PHP/XHTML that I want for between the <body> tags. Can I do this? Can I input PHP into my database and have it outputted as PHP within my scripts later when the page is called? The PHP should be parsed of course.
This web app is a CMS-type application that will allow me (super-admin) to create various pages that host all kinds of different content, from videos to music to articles.
The problem I am running into is that I would like to have complete control over the look and feel of each individual page that is created. So what I was thinking about was in the admin section where I actually setup each page, have a <textarea> input where I can just copy and paste all the PHP/XHTML that I want for between the <body> tags. Can I do this? Can I input PHP into my database and have it outputted as PHP within my scripts later when the page is called? The PHP should be parsed of course.