php - generating more than one image with a for loop -
i new php gd library. have developed code generating image gd library , creation of image successful. have tried generate more images of same type loop when tried add button near images didn't fit on 1 image. appears this:
my code
<?php $num = 5; ($j = 1; $j <= $num; $j++) { echo "<img src=yeah.php /><br><br>"; echo "<button>clickme</button>"; } ?>
i want fit button in 5 images ..hope guys can me out
thanks in advance..
<?php $num = 5; ($j = 1; $j <= $num; $j++) { echo "<img src=yeah.php /><button>clickme</button><br><br>"; } ?>
not sure if answer worthy.. basic html output output image
2 linebreaks
button
, repeated process 5 times given loop why have current final results.
Comments
Post a Comment