I am working with a PHP foreach loop and I need it to output some specific HTML depending on which array value it is spitting out.
Everytime that the foreach loop hits a $content['contentTitle']
I need it to insert a new table and then from there carry on. Essentially I want the for the loop to spit out a new table everytime a new contentTitle is found, but then add the rest of the data in the array as tr
and td
's.