04-20-2016, 11:13 AM
You broke up the structure by commenting the endforeach.
Remove the // in front of endforeach;
Check if you keep getting errors after that.
Next, start each image block on a new line in your php file.
It's much easier to read, and it has no effect on the way your browser handles the code. The browser will only start a new line if you deliberately insert a <br />.
Also close the <image> tag with /> at the end, with a space and a / before the >
All html-tags that don't come in pairs, like <hr />, <br />, <img /> etc. should be closed the way I show you here.
Remove the // in front of endforeach;
Check if you keep getting errors after that.
Next, start each image block on a new line in your php file.
It's much easier to read, and it has no effect on the way your browser handles the code. The browser will only start a new line if you deliberately insert a <br />.
Also close the <image> tag with /> at the end, with a space and a / before the >
All html-tags that don't come in pairs, like <hr />, <br />, <img /> etc. should be closed the way I show you here.