Avatar of universalmonster
universalmonster

asked on 

Foreach / Loop

Hi All, I have a table with 2 columns (firstname, familycode).

How can I achieve a looped output that will print all the first names in each family code (each family having their own line)

Jack, John, Julie & Jane
Peter, Paul, Philip & Pedro
etc.

Many thanks in advance,

Pete
PHPMySQL Server

Avatar of undefined
Last Comment
Ray Paseur

8/22/2022 - Mon