1
ruggierigm
code to display a collection
  • 2005/12/13 5:52

  • ruggierigm

  • Just popping in

  • Posts: 34

  • Since: 2004/6/19


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

Login

Who's Online

369 user(s) are online (288 user(s) are browsing Support Forums)


Members: 0


Guests: 369


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits