Answers for "rand for loop php"

PHP
2

php random integer

echo random_int(0,50);
Posted by: Guest on October-03-2020
0

php foreach random

shuffle($umm);
foreach($umm as $new){
    echo '<img src="'.$new->picture.'" width="100" />';
    echo $new->id;
}
Posted by: Guest on May-02-2021

Browse Popular Code Answers by Language