I have a mysql database, dtb drive
| f_id | data | target |
|---|---|---|
| 1 | 2024-03-05 | Berlin |
| 2 | 2024-05-06 | Berlin |
| 3 | 2024-04-01 | Hanover |
| 4 | 2024-03-15 | Hamburg |
| 5 | 2024-06-03 | Hanover |
| 6 | 2024-06-01 | Hamburg |
| 7 | 2024-05-16 | Duisburg |
| 8 | 2024-05-02 | Frankfurt |
I now want to output a list on my HTML page. The list should be sorted by date and only contain Berlin, Duisburg and Hamburg.
I’m failing with PHP and return array because of the two different values.
If someone could help me with this I would be very grateful.