Hey everyone.
I'm stuck on how to go about doing this.
I basically want to do this for the php side:
$data = array('pic'=>"title1", 'src'=>'2');
$data = array('pic'=>"title2", 'src'=>'4');
$data = array('pic'=>"title3", 'src'=>'6');
|
Then for the display...I want it to be 5 x 5 (5 cols, 5 rows). So 25 items within the array will fill the entire page. Otherwise, if there's only say 12 items, then I only want as many cols/rows as needed to accomidate the items within the array.
If that all makes sense.
I can't figure out how to do it, so any help is appreciated. Oh, this is for a photo gallery by the way :D