This topic is locked

Automatically show child records in Parent Listing

4/6/2020 08:32:16
PHPRunner General questions
N
nagate816 authorDevClub member

Helllo,
I am working on a membership directory and would like to show all member companies with contact records automatically listed below them. I have the parent child listing the company data and the the user can click on the lisnk (which also says how many contact records) and it expands but we would like to have it all in one listing without having to expand it manually. This is what is currently looks like:


. link >> https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=27260&image=2&table=forumtopics?dl=0
and this is how I would like it to look:


. link >> https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=27260&image=4&table=forumtopics?dl=0
I have my test app here:
http://php.asapsites.net/apps/test2a/organization_list.php
Thanks,
Neil