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]
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 done the similar projects for my clients.
Special Offer: I will give you 20% discount in this project!
I have more than 3 years of experience in designing & developing a stunning, responsive and mobile friendly websites using PHP (Frameworks). I am passionate about my work and following the professional ethics as a freelancer. I am always eager to provide you with my best solutions, services and VIP support 24/7. Take a look at my portfolio at www.roshaanraza.hawkit.net.
Will you be available for a quick 5 minutes call to discuss the details?
If interested, open PMB so we can discuss the project.
Best Regards,
Hafiz Aqib Javed
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.
Kindest Regards
Jonathan