[code] <?php $i=0; $number_of_ads= //Enter the number of ads; while($i<number_of_ads) { ?> <tr><td> <a href='<?php echo($ads_HREF[$i]); ?>'><img src='<?php echo($ads_SRC[$i]); ?>' name='<?php echo($ads_ALT[$i]); ?>' border=0></a></td></tr> <?php $i++; }//close while; ?>[/code] That looks good.... except this is for my forums... I can not use PHP in the template... So i need php and then I call on it with HTML... Thats why I had two seperate codes in the first post! Thanks a bunch! Do you think your array code could be altered to do what I am looking for?