Categories > TinyButStrong general >

Table Help :/

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: Scythe
Date: 2005-07-20
Time: 02:00

Table Help :/

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
By: Scythe
Date: 2005-07-20
Time: 02:32

Re: Table Help :/

Nevermind :D

I found an older post that does what I need :)

Thanks everyone