this page prints a random array (from 1 to 11) Question is how can I group the numbers; 1, 2, and 3 aftter
[php]
$startArray = range(1, 11);
shuffle($startArray);
echo join(’, ', $startArray);
[/php]
Thanks
this page prints a random array (from 1 to 11) Question is how can I group the numbers; 1, 2, and 3 aftter
[php]
$startArray = range(1, 11);
shuffle($startArray);
echo join(’, ', $startArray);
[/php]
Thanks
this works…
[php]
$first= range(1, 5);
$second = range(6, 11);
shuffle($first);
shuffle($second);
echo join(’, ‘, $first)." : ".join(’, ', $second);
[/php]
but how do I randomize the order of the 2
http://shores-rentals.com/luth/question7.php
What are you asking?
You want to randomly display group1 first and randomly display group2 first?
We are not sure of what your question is…