Well there is actually only one page.
I haven't ever used javascript before (or PHP or mysql for that matter) so I wanted to try keep the learning down to a sensible level.
To begin with the PHP goes and gets two random records from the DB. Then the display is built from these two records and put in to forms and setting up the values for the posting of the forms.
I also used a table for a slight bit of layout stuff which I know is a big NO but I couldn't get it to work the way I wanted.
When you click the button it links back to the same page which then (if it has POST values) then updates the DB with the new scores and displays 2 new random pictures to choose from.
The site is
http://oliverfoggin.dyndns.org/teaparty if you want to take a looky?