Create a table that will hold the list of fixtures. Date of match, team playing against, score, etc. E.g.:
CREATE TABLE `tblFixtures` (
`MatchID` INT( 12 ) NOT NULL AUTO_INCREMENT,
`DateMatch` DATE DEFAULT '0000-00-00' NOT NULL ,
`Opponent` VARCHAR( 50 ) ,
`Score` VARCHAR( 10 ) ,
PRIMARY KEY ( `MatchID` )
);
Then, create the query to bring up the next available match, in relation to today's date:
$qry = "SELECT * FROM tblFixtures WHERE DateMatch>=CURRENT_DATE() ORDER BY DateMatch LIMIT 0,1";
You must order the query by the date, to ensure the matches are displayed in order. The LIMIT 0,1 part of the query will display the results from row 0 (the first row of the result), and display only 1 row.