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:

image of misfitted buttons

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

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -