So sprach »[EMAIL PROTECTED]« am 2001-09-23 um 02:09:17 -0400 :
> Hi,
> 
> If I have a value $num = 32; based on this how can I create an Array of 
> numbers 1 - 32, something like this...
> 
> <?
> $num = "32";
$arr = array();
> for ($i = 1; $i <= $num; $i++)

$arr[] = $i;

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:       http://www.digitalprojects.com   |   http://www.iso-top.de
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
                Uptime: 3 days 19 hours 40 minutes

--
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