I have another query which runs after the code which I have posted. It basically gets a random record from a table and prints it to screen.
So I have a section which says
Today's date is Saturday 16 September.
Then I want the 1 record which depends on the date comparison.
Then the random record from the db eg.
21 against are a rock band from South Wales.
The date is being displayed correctly, and the random record is being pulled from the db and being displayed.
I am not using the error trap, mainly because I don't know how to.... my syntax knowledge is very very limited.
As for the over use of the echo statement, it is because as a learner I tend to stick to things that work, and am only just coming to terms with embedding HTML etc within php.
Cheers
H