I have a table in MySQL with 5 rows (filename, location, type, author, date) and I would like to use PHP to print something like the following:
<div id="file">
<a href="(location)">(filename)</a> - (author)<br>
(type) - (date)
</div>
I would like a new div to be created for every row in the table, is this possible?
1 Answer