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";
for ($i = 1; $i <= $num; $i++)
{
// Do something
}
// And now $i = ("1","2","3",etc
?>

Any suggestions?? I cannot use array_push as this has to work on a PHP3 
server.

TIA
Ade

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