I have a dataset of bird records, with two of the columns holding 'species' and 'grid', where 'grid' is the refs of an 8x8 grid (A1 to H8) that was mapped over a survey area.
eg. species 1 (seen in) A1
species 1 (seen in) B3
etc. for nearly 300 species.
I want to be able to retrieve the data and put a marker (eg '1') in an 8x8 HTML table, where each table cell corresponds directly to the grid ref of the record, so that in effect the table shows the bird distribution.
I can query the data and show the grid records in an HTML table in the order they appear (ie, the ORDER BY sequence), but haven't been able to get even close to a way that I can make the records go to the specific cells I need them to. Nothing that I could find through searching seems to be near what I want. Any ideas on how I can solve this?
Many thanks