So I have my data. It's a list of images and some caption data.
foreach from a reversed array.....
<html code >
<html code >
<complex html code>
<long and annoying html code>
<funky html code with quotes flying all around>
.
.
<html you get the idea>
<?php simple img src = $image ?> // PHP
+ some caption data
?>
<html code >
<html code >
<complex html code >
<long and annoying html code>
<funky html code with quotes flying all around>
ok....done
Every time I head off in the:
echo '<html code>';
it gets very error prone on the complex html.
I'm I headed the right way.? Can someone recommend a structural design that's more practical than echoing a boat load of complex html? Could(should) I put it in a file and then pull the html code in front and at the end? Did I fall asleep in the part of class that made this simple?
As always...you help is really appreciated.
KC