Hello,
I accidentally discovered this while playing around with “RANGE”.
[php]<?php
$numbers = range (1,20, 2);
sort($numbers);
for($n=0; $n<=20; $n++)
{
echo “$numbers[$n]<br >\n”;
{
?>[/php]
OUTPUT:
1
3
5
7
9
11
13
15
17
19
Whoa! Is this a standard function of “range”–the last digit /element in the “range” acts as an incrementor?
Any other neat functions with regard to this?
Or is this a fluke?
Thanks,
Chris