Forum Moderators: coopster
Today I found a technique, where the file name of the include file is put into a variable, which can then be manipulated by the code.
A little light went on in my head, there must be hundreds of simple tricks like this. What are your favourites?
I'd look(if you've not already) at how you can bring in your page information (title,header,content) from a database, so that new page creation is simply done by adding a new row in the db.
I'd look(if you've not already) at how you can bring in your page information (title,header,content) from a database
This is something I'd be interested in pursuing.
The site in question consists of a 150-200 pages tops. Once a page is added it rarely gets changed or deleted. I'm the only person who works on it, so I don't need a friendly interface for uploading/creating pages etc. Therefore I don't feel it warrants a full CMS.
I've read plenty of 'do anything with php/mysql' books, but haven't found one which covers in detail building a fully database driven site, can anyone offer any titles or on-line tutorials?