
I know how to use \t and \n to make the source look pretty. However, as you can see something mysterious is happening to my first anchor tag aka the first think I’m echoing. I’m in chrome if that matters.
for ( $counter = 0; $counter <= sizeof($projectImages)-1; $counter += 1) {
echo '<a href="#">'."\n";
echo '<img class="sidebar-image" src="#">'."\n";
echo '</a>'."\n";
}
You haven’t shared your complete code, but it is probably a case that you have:
and not: