Can anyone help me? I need to produce a random and uniques array using 
numbersbetween 0 and 9. I tried to create a random array and them make it 

for ($i = 0; $i<100; $i++){
        $a[$i] = rand(0,9);

$ra = array_unique($test);

I keep getting an error saying $test is the incorrect type. Can someone 
please explain why this doesn't work. And does anyone know how to get a 
unique and random array, every time the page is refreshed.


Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to