<br>I'll admit, I didn't bother to check the apache logs. I usually do that when the code fails to load, or when I'm at the stage of error correction. Wrapping the chars in quotes did eliminate all of the notices that php generated.<br>
<br>In your code example, eliminating the generation of the Z character from the for loop will also simplify the if condition, since it removes the || bug that I've been experiencing. So having:<br><br>if ($i != 'M') { echo " | "; }<br>
<br>yields the same results.<br><br><br><br>I've tweaked the code a lil bit, and now it works as it should. Unfortunately, it feels dirty and inefficient, since there are cleaner ways to generate the output:<br><br>// AA follows Z<br>
for ($i='A'; $i != 'AA'; $i++)<br> {<br> if ($i === 'N') { echo "\n\n<br>\n\n"; }<br><br> echo $i;<br><br> //And in this example, the || works.<br> if ($i === 'M' || $i === 'Z') { echo " "; }<br>
else { echo " | "; }<br> <br>