0
I have the following condition of FOR:
<? for($i=0; $i<=9; $i++){ ?>
<input type="button" value="<?=$i?>" name="no" onclick="moveNumbers(this.value)" class="btn btn-default">
<? } ?>
I’d like it if instead of displaying 0, 1, 2, 3... it exhibited randomly. How can I do this?
And the problem with the
rand()
/mt_rand()
?– rray
I can’t explain it, I needed it within the numerical digits to display randomly...
– Sr. André Baill
value="<?=mt_rand(1,10)?>"
what’s wrong with that?– rray
http://prntscr.com/b5i7gt
– Sr. André Baill