I am trying to put a load of images in a random order using php this is what I have tried
for ($i=47; $i < 54; $i++) {
echo "<img width='205' src='IMG_03";
echo rand(47,53);
echo ".jpeg' alt=''>";
}
But this code includes duplicates how could I do this without having the same random number between 47 and 53 twice?