I have a question. Let's say I have a relational table "ClientInvoices" with this structure:
id | id_client | id_invoice 1 1 1 2 1 2 3 2 3 4 3 4 5 1 5
You can see that CLIENT 1, have 3 invoices. Each client can have multiple invoices, and I to extract this information and put it in an html table, like this:
CLIENT | INVOICES
1
1 2
5
2 3
3 4
How can I do that? I know is very simple, but I think I'm stuck. How can I calculate rowspawn, and show only one client with all invoices for him?