I have a problem displaying some database data in an HTML table.
The records in the database are in the following format (color, size, price): ex.
- Black S 10.98
- Black M 11.23
- Black L 12.12
- Red M 11.23
- Red XL 13.19
- Blue L 13.00
And now I should print it in the table in the following format as in the picture.