The visual view I would like to end up with is a table which doesn't repeat all of the data:
https://ibb.co/0XYSh1T
The above is how my table is currently displaying but is it possible that I have a single mention of the Cat and sub cat?
https://ibb.co/3hZh90J
I know how to set up the database read, but what elements would I need in order to get the table filled in? That's presuming its possible!
I think that the post here is doing something similar, which is to be able to load details of the nested array into a field on the table.
below is a snippet of the debug.
In the table I have column 1 set up to show the JobType.job_type which is filled with the data from the main db read. But filling in the other columns in the correct format is alluding me. The next column in the row is a a relation to the db read and as seen below is gathered correctly.
[var] => Array ( [0] => Array ( [JobType] => Array ( [aid] => 7 [type] => Derriford Covid Centre ) [JobOrgs] => Array ( [0] => Array ( [aid] => 43 [organisation_type] => 7 [organisation_name] => Private Address [short_name] => Private Address [address_1] => [address_2] => [town] => [county] => [postcode] => [address] => ) ) )
Thanks in Advance
Dave