Go to Post Please stand up and be proud of who you are and what you believe in! - MattK [more]
Home
Go Back   Chief Delphi > Technical > IT / Communications > Website Design/Showcase
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 23-06-2007, 16:02
FRANK(WGH) FRANK(WGH) is offline
Webmaster - delphielite.com
AKA: Frank
FRC #0048 (Delphi E.L.I.T.E.)
Team Role: Webmaster
 
Join Date: Nov 2001
Rookie Year: 2001
Location: Warren, OHIO
Posts: 88
FRANK(WGH) will become famous soon enough
Send a message via AIM to FRANK(WGH)
Dynamic Tables in PHP

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.
__________________
Frank Bosak
Collegiate Mentor Association
Team 48 - Delphi E.L.I.T.E.
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Online Engineering Tables SuperJake Math and Science 4 07-04-2005 14:07
Look Up Tables amateurrobotguy Programming 7 09-03-2005 00:14
Dynamic Linking with PHP plutonium83 Website Design/Showcase 6 12-01-2005 19:41
Large Lookup Tables Mr. Lim Programming 5 16-02-2004 21:30
Tables in pits? Rickertsen2 Regional Competitions 2 23-03-2003 12:42


All times are GMT -5. The time now is 16:06.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi