zantzinger
09-24-2008, 03:13 PM
I think I can see two areas of my site where MySQL/PHP will be needed and I just wanted someone to point me in the right direction. ((I'm new to webdev and, having created a site a couple of weeks ago using iWeb, I've since decided to take the plunge and learn some html/css/php/mysql. I've only tinkered with the site so far in textwrangler, but some of the iWeb gunk has been removed; e.g. multiple css pages)).
So, there's going to be a history page on www.oxfordpoetry.co.uk/history.html which will pretty much use all the data from http://www.gnelson.demon.co.uk/oxpoetry/index/index.html but package it in a prettier way.
The magazine has issues (and info on them like number of pages, whether there's a preface, table of contents); contributors/editors' names (and info on them like which issues they feature in, who they went on to be).
I can't quite see how to make a database where entries aren't repeated (because some contributors are published in multiple issues) and I don't know whether this is actually a problem. Can anyone help with what the fields would be?
Second use of MySQL and PHP. At the moment the individual pages of the site (only about 5 pages) load up with different quotations underneath the main logo. I think that x number of quotations (a field with lots of characters) and their authors could fill a two-column database and a PHP script could randomly put a quote on a page when it loaded. Refreshing the page would generate a different quote. Is this right?
So, there's going to be a history page on www.oxfordpoetry.co.uk/history.html which will pretty much use all the data from http://www.gnelson.demon.co.uk/oxpoetry/index/index.html but package it in a prettier way.
The magazine has issues (and info on them like number of pages, whether there's a preface, table of contents); contributors/editors' names (and info on them like which issues they feature in, who they went on to be).
I can't quite see how to make a database where entries aren't repeated (because some contributors are published in multiple issues) and I don't know whether this is actually a problem. Can anyone help with what the fields would be?
Second use of MySQL and PHP. At the moment the individual pages of the site (only about 5 pages) load up with different quotations underneath the main logo. I think that x number of quotations (a field with lots of characters) and their authors could fill a two-column database and a PHP script could randomly put a quote on a page when it loaded. Refreshing the page would generate a different quote. Is this right?