this should work:

for ($i=0; $i<5; $i++) {
  $mypics[$i] = $picture;

Edward Peloke wrote:

> Ok, very basic question, how do I am going through a loop 5 times, each
> time, I want to store a value into an array, do I simply set the value of
> $picture=array($mypics);
> and each time it loops it will take the current value of $picture and then I
> can get out each value by $mypics[0], $mypics[1], etc?
> Thanks,
> Eddie

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to