This may seem elementary to some, but I'm just learning php and I need some help.
I'm creating a Photo Gallery for a website and I want to be able to make a standard template and let php handle the rest.
Right now, I'm using an array to hold all of the information needed for the gallery including the filenames of the images.
PHP Code:
$show = array ( "TSO" => array( "title" => "Trans-Siberian Orchestra",
"folder" => "TSO/",
"date" => "11/13/05",
"img1" => "PB130055.jpg",
"img2" => "PB130069.jpg",
"img3" => "PB130124.jpg",
"img4" => "PB133303.jpg",
),
);
Then I create a static table with 4 columns and call it a day. I'd like the ability specify the number of images I have and let php create the table.
Here's an example of what I've got so far.
http://www.rockshotzinc.com/gallery-...k=TSO&pic=img1
Can anyone help me out.