Just wondering if anyone had any pointers for a problem I've got.
I've got 2 tables within my db (results and fixtures)
The results table is added to each time a game takes place.
Is there way of linking the 2 tables so that when a result is added, the script sees the id or similar field and displays the next fixture.
Ie: If the id of the last result is 3 then is there a way to display id 4 from the fixtures table.
So, in sum, whatever id the latest entry in the results table is, the id of the entry requested from the fixtures table needs to be 1 higher.
Hopefully, I've made myself understandable without being to vague.