I have an array called memberList which is filled with a list of members.
Now I am trying to use PHP to loop through the array and display it on the page.
<tr class='d1'><td><p class='normal-text5'><?=$memberList[$x]?></p></td></tr>
I wanted to loop through it using a for loop, instead of having to copy/paste the same code 100 times, displaying every name.
for ($x = 0; $x <= 99; $x++) {
echo <tr class='d1'><td><p class='normal-text5'><?=$memberList[$x]?></p></td></tr>
}
But then I remembered you can't execute PHP code in an Echo, so I was wondering how I could do this differently?