Page 1 of 1

Simple Array question

Posted: Fri Sep 05, 2003 6:55 am
by JayBird
Im sure you can creat and array of number by doing something like this

$numbers = array(1..10);

$numbers will then contain 1 2 3 4 5 6 7 8 9 10

Can't remember the correct way to do it though :(

Mark

Posted: Fri Sep 05, 2003 7:02 am
by volka
yes, quite simple ;)
http://php.net/range