What happens, is that it shows 5 images with 2 spaces in between each (" " and " "), and every 5 images, it inserts a <br> tag, so that the table does'nt get stretched. I include this code:
<img border="0" src="bases/001.gif">" "
<img border="0" src="bases/002.gif">" "
<img border="0" src="bases/003.gif">" "
<img border="0" src="bases/004.gif">" "
<img border="0" src="bases/005.gif">" "br"
<img border="0" src="bases/006.gif">" "
<img border="0" src="bases/007.gif">" "
<img border="0" src="bases/008.gif">" "
<img border="0" src="bases/009.gif">" "
<img border="0" src="bases/010.gif">" "br"
<img border="0" src="bases/011.gif">" "
<img border="0" src="bases/012.gif">" "
<p>
<?php include("bases/base_pages.inc") ?>
(that was manually made, I also inserted " so the br tags don't get removed)
now, what I would like, is to be able to get this done from an admin CP.
something like this I guess:
$FP = fopen("b01.inc", "a+");
fputs(fopen, $image_url);
fclose("$FP");
the admin would know to stop when he hits 15 images, but what I need to know, is how would I make it so it automatically inserts a BR every 5 lines.
help would be greatly appreciated
Thank You