troubleshooting Question

PHP <div> problem

Avatar of EzEApostle
EzEApostle asked on
PHP
4 Comments2 Solutions237 ViewsLast Modified:
Hi Experts,

Hope you can help me, I have a list of data which I'm dumping to the screen and If a record header matches another I dont want it to be repeated, if it doesnt then return the next line of data.

I've managed to get the headers to work correctly but now in certain circumstances it ignores the end table and div tags.

I've looked through the code numerous times but cant figure out how to add the tags where it's finishing, I've attached the code in a txt file with links to a working example and the incorrect example.

Can anyone tell me where I'm going wrong and where to add the end table and div tags?

Thanks in advance
league-detail.txt
ASKER CERTIFIED SOLUTION
bansidhar

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 2 Answers and 4 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros