I've got an array, $points1, just had a problem sorting it though...
print "points1 type: ".gettype($points1)."<br>";
$points2 = rsort($points1);
print "points2 type: ".gettype($points2);
This gives
array
boolean
Which really confuses me!
I can do what I want as below...
print "points1 type: ".gettype($points1)."<br>";
$points2 = $points1;
rsort($points2);
print "points2 type: ".gettype($points2);
and get
array
array
just fine, but why doesn't the above code using
$var1 = rsort($var2); work?
Thanks for any help