When i use random function it is working it give me 3 random value , but when i use the variable who contain a number , the number stay the same ?
foreach ($list_of_codes as $k => $v)
{
// $rand = rand(1,15);
$rand = $refidorder;
$code = $rand++;
}