Jump to content

loop table display issue


samoht

Recommended Posts

hello all,

 

I'm a little stumped about how to write the output for what I need.

I have database records that store description information for work done under different categories with the client name and the date.

 

I am trying to write a php foreach loop that will loop through each client and create a table with the category of work in the first column and then the description of the work done in the second column.

 

I have the foreach working fine for looping through by each client. where I am stuck is figuring out how to display all my categories (with their full name and not just the field name) in each table - even if work was not done in that category.

 

 

Hopefully that makes sense.

 

Thanks for any help.

Link to comment
https://forums.phpfreaks.com/topic/206533-loop-table-display-issue/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.