Codice PHP:
$n[1] = 123;
$n[2] = 456;
$n1 =$n[1];
$n2=$n[2];
echo 
rand$n1$n2); 
Perchè , così non ti funziona ?