I'm going to create my first real website and I'm looking for ideas about designing it. This is not a commercial website, just a hobby project :)
I guess this is mostly a question of a layout matter, but I want to use PHP/mySQL to have control over the content of the site.
I want to design it using tables(wich I think is far better than using frames)and by doing so I think that the best way is to create a template.php and stick by that one when I want to add pages (like photos,diary etc).
The thing is I just can't figure out the easiest way to have total control of the content using PHP/mySQL.
A good example of that is http://www.webasterbase.com
anyone who might be able to help me?
I think you should use PHPs include function on the template file.
Use it to call in a header file, maybe a nav one and also a footer one. That's the way I have my own site setup. You can see what I mean at http://www.webdevsites.com
I have the index.php file calling on 4 files. header.php, nav.php, body.php and footer.php
Then every page I need to edit, I can do so my editing the body.php file
I'm currently working on a content management system that allows me to enter articles, reviews, etc into a sql db and then each page on my site can call those form the db*
*db=database (just in case nobody knows ;))
uhmm.. ok I think I get the picture