Assist with PHP MySQL code issue

sedang Berlangsung Dipasang 5 tahun yang lalu Dibayar saat pengiriman
sedang Berlangsung Dibayar saat pengiriman

I have a table of results, which are grouped by Series and Year. At the start of each group, a summary of the unique cars and teams the driver participated with during that series and year needs to be displayed.

The code is only printing the first row which meets the criteria. The array only contains that item. In addition, it is locked on to the first record, even if the driver did not even participate, which leaves some years not printing any car or team information.

I have defined functions such as 'print_yrsrsheaders' to open and close the respective div which has been colour coded for clarity.

I could try to print unique values from an array but $row['car'] on line 13 of the PHP code block only contains one value.

A full explanation has been posted on Stack Overflow:

[login to view URL]

HTML MySQL PHP Pengujian Situs Web

ID Proyek: #18743530

Tentang proyek

3 proposal Proyek online Aktif 5 tahun yang lalu

3 freelancer rata-rata menawar £17 untuk pekerjaan ini

hafizaqibjaved

Thanks for reading my response to your project. I have seen your project and it matches my expertise. I understand the concept here I can help you in your application's achieving the goals through my services. I have Lebih banyak

£13 GBP dalam 1 hari
(11 Ulasan)
3.5
jonathanhooton

Dear Client, I can help you with this loop issue. I will work with you to resolve the issue and explain the solution. I support all my work even after the completion of the project. I look forward to working with you Lebih banyak

£21 GBP dalam 3 hari
(15 Ulasan)
3.4
Shineslimted

hi dear i have 5 year experience in software developement i can do your work in two hours if you can give me access of cpanel thanks

£18 GBP dalam 1 hari
(1 Ulasan)
1.8