Danny620 Posted March 13, 2012 Share Posted March 13, 2012 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> Quote Link to comment https://forums.phpfreaks.com/topic/258849-multiple-lists-php-loop/ Share on other sites More sharing options...
dragon_sa Posted March 13, 2012 Share Posted March 13, 2012 Where are you having trouble?, show us the code you have tried so far with the problem Quote Link to comment https://forums.phpfreaks.com/topic/258849-multiple-lists-php-loop/#findComment-1326988 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.