Say I have this loop.
foreach($record as $row) {
<div class="hello">Hello World!</div>
}
I want to loop through and add a letter alongside the "Hello World!" above. To do that, I found this code.
$azRange = range('A', 'Z');
foreach ($azRange as $letter) {
print("$letter\n");
}
How can I combine the two loops so that I get a result like this?
A Hello World!
B Hello World!
C Hello World!
D Hello World!
E Hello World!
F Hello World!