Hello everybody!
I have a ymsqlsql table:
+--------------+------------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+--------------+------------------+------+-----+---------+----------------+
| department | char(3) | YES | | NULL | |
| person1 | varchar(20) | YES | | NULL | |
| person2 | varchar(20) | YES | | NULL | |
+--------------+------------------+------+-----+---------+----------------+
I would like to make html tables, like this:
<p>name of the person (from person1 field)</p>
<table>all rows with that name in person1 field</table>
<p>name of the another person (again from the person1 field)</p>
<table>all rows with another person's name in person1 field</table>
so.. i would like to make somekind of report. that's why i want every person to give it's own table. how can i do that in php?
i hope, that you understand me 🙂
thank you for your answers