Shuffle array values in PHP random sort function usage, shuffle array
The example of this article describes the use of shuffle array values random sort function, share to everyone for your reference.
The specific instance code is as follows:
Copy the Code code as follows: $typename = 20;
$rtitle = ' TT ';
for ($i =0; $i <=20; $i + +)
{
$rtitle _rand = Array ($typename, $rtitle, $typename);
Shuffle ($rtitle _rand);//random sorting of arrays
echo $rtitle _rand[' 0 ']. '
';
}
I hope this article is helpful to everyone's PHP programming.
http://www.bkjia.com/PHPjc/915429.html www.bkjia.com true http://www.bkjia.com/PHPjc/915429.html techarticle PHP Shuffle array value random sort function usage, shuffle array This article describes the shuffle array value random sort function usage, share to everyone for your reference. Specific instance code such as ...