Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
4 - 3 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
   

code to display a collection
by ruggierigm on 2005/12/13 5:52:39

Here is what I am trying to do, does anything exists that does this already.
My table.
Item_nm varchar(50)
Item_pic varchar(255) - contains the location of the picture I want to display
Item_desc_1 varchar(30)
Item_desc_2 varchar(30)

I am looking for some php that will access the table and take the results and build across and down the screen.

So the result should never exceed 4 columns across.
So if my table contains 10 entries it would know to build a table that would be a max of 4 columns across and 3 rows down.

Each column within a row would contain all 4 values from the table, it would continue to build rows until the table was empty. Of course the deluxe scenario would be to have the ability to control the number of columns across and down by specifying them on the screen somewhere.

TIA, Gabriel

Who's Online

205 user(s) are online (164 user(s) are browsing Support Forums)


Members: 0


Guests: 205


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits