Jump to content

Multiple <ul> Lists PHP Loop


Danny620

Recommended Posts

Hi, I need help to create a list like this with data from a database im having trouble doing so i have a table called company with 5 fields (installer, assessor, provider, trainer, other) if for example installer in the filed list = 1 then add to list else dont and see if assessor needs added if = 1 add then close list and see if provider = 1 if it does'tn then ask next.

 

<ul>

<li>Item 1</li>

<li>Item 2</li>

</ul>

 

<ul>

<li>Item 3</li>

<li>Item 4</li>

</ul>

Link to comment
https://forums.phpfreaks.com/topic/258849-multiple-lists-php-loop/
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.