PHP create HTML table with a while loop – tutorial 09.3

Creating HTML tables using while loops in php. Loops can be used for all sorts of repetitive tasks that have patterns in html code. A HTML table is a good example; they have a strong recognisible structure of cells that can be created and filled with content in the iteration of a while loop.

source