isolate first image of image array - mysql + php

A

Anonymous

Guest
you can do....

Code:
$imgarray = .... all the values ... (I assume 1 dimensional);

for ($i=0; $i<count($imgarray); $i++)
{
   if ($i==0) {
       //show big image
   } else {
       //call a function that generates thumbnails...
   }
}
 
Back
Top