Foreach loop in php (string concatenation)
How can I do this from the given loop in php
Name Email System
Patrick Lester firstname.lastname@example.org DEM
John Doe johdoe@gmailcom DAM
Patrick Lester email@example.com DAM
John Doe johdoe@gmailcom DEM
NAME Email System
Patrick Lester firstname.lastname@example.org DEM, DAM
John Doe johdoe@gmailcom DAM, DEM
Please provide a bit of code, showing how do you treat the loop you are mentioning. Is it a foreach() look from data in an array? A while loop from data in your database? We will need a bit more to be helpful.
What would you like to do? Filter the database content and display it?
What "given loop"? Did you forget to include it in your question?