At the moment, all I have been able to manage (due to my lack of php knowledge) is as follows:
I've done this by (excuse my lack of knowledge, it's probably called something else) sending the category details in a link to the next page ie:
<li><a href="addresses.php?cat=<? echo $cat;?>"><? echo $cat;?></a></li>
And then using the GET command:
$cat=$_GET['cat'];
to display the details for that category on this page.
BUT what I would idealy like to do is have it all displayed on the same page. Instead of the link taking me to another page to display the addresses for that category, I would like to when the link was clicked dispaly that information below the category list in a table. But it would not show until you click on the link (so it wouldn't show up when you first viewed the page basicaly) I know you can use something called _SELF but I'm so new at this, that every day is a learning event.
I just need some one to briefly explain what I need to be looking into or a link or even if it's at all possible. I hope I've explained myself better! I'm terrible at explaining things.
Many many thanks for taking the time to have a look at this for me, I'm very greatful!
Best wishes,
Linda