I have problem with the rand function and i see each time i reload website repit in many cases de same number i put my script of example to continue :
for($i=0;$i<3;$i++)
{
$a=rand(0,2);
echo $a;
}
The result of this script in many cases can be this and right , (1,4,5) or in other cases with this problem (1,2,2) or (2,3,2) ( repit random number)
In many cases repit one number and this result repit one pic or one video and no show all differents results
Thank´s Regards