clint lenard wrote:
Hi guys, I'm fairly new to MySQL and I've searched for about a week looking
for an answer to this...
I'm trying to design a Database that would hold HTML sites in the DB itself
and use PHP to call for the HTML file - which would be populated with
Content from another table in MySQL. I was told I could put HTML into
MySQL... so my main question would be: "is this possible?", "is this a BAD
thing?" but most of all... would this be resource intensive?
Thanks for any answers! I hope I'm using this list correctly - I did search
Google and I've been reading an MySQL Manual for over a week now trying to
get it down 110%!
Thanks,
Clint
If you would like, you may check out these related technologies that do
what you are talking about already:
www.mamboserver.com
www.xoops.com
Also, if you use templates, it makes it easy to just keep the relevant
parts of the page, and then display them inside of a predefined
template. That way, you can change the template whenever you want, and
all your pages will change. If you store the part of the HTML that
formats the text (color, style etc) in the DB, this isn't possible.
smarty.php.net
wasn't sure if you could use any of these, but, here's the info.
--
http://www.douglassdavis.com