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?