the function array is for making a new array. Observe this code and you will get the point

(assuming that you won't to loop for five times)

$myarr= array()
for ($i=0;$i<=5;$i++)

//you can then get the values of the array
echo $myarr[0];
echo $myarr[1]; //and like that

note that this loop simply assigns a number to every array index, this is not so useful, but you would probably do something with $i to store a particular value.


Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to