Jump to content

Database Catalogue


Recommended Posts

Hello,

 

I'm looking to optimise the structure of the database behind my website, www.footieclassics.com.

 

There are 25 potential options for each shirt, e.g. an '96 England Shirt' can be purchased in a 'Medium', in 'Excellent' condition.  I am looking for a way to structure the database to avoid repeated data.

 

Any ideas?

 

[Products]

|

+--[National Teams]

|  |

|  +--[Argentina]

|  +--[brazil]

|  +--[England]

|    |

|    +--[96 England Shirt]

|    +--[04 England Shirt]

|    +--[06 England Shirt]

|        |

|        +--[small]

|        +--[Medium]

|        +--[Large]

|        +--[X-Large]

|        +--[XX-Large]

|          |

|          +--[Excellent]

|          +--[Good]

|          +--[Average]

|          +--[Poor]

|          +--[Very Poor]

|

+--[Premiership]

+--[Championship]

Link to comment
https://forums.phpfreaks.com/topic/116466-database-catalogue/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.