Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    May 2006
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts

    what is the idea behind this table ?

    I saw many sites uses table of sizes and colors for each product so visitor can select the color/size he/she wants by clicking on small image represents color or key - Is there any one can tell how this can be done:

    here is a link:
    http://www.boden.co.uk/col.asp?styid...&gpid=12&gen=1

    thanks

  • #2
    Senior Coder
    Join Date
    Feb 2006
    Location
    USA
    Posts
    1,013
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Could you be more specific about which part you need help with?
    Learn CSS. | SSI | PHP includes | X/HTML Validator | CSS validator | Dynamic Site Solutions
    Java != JavaScript && JScript != JavaScript
    Design/program for Firefox (and/or Opera), apply fixes for IE, not the other way around.

  • #3
    New Coder
    Join Date
    May 2006
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts
    in this page there is a table of colors/sizes for the product if you click on the desired color/size it will be added to shopping cart

    I need to know how to design such table in database and what java script and php script I should use ?

    I tried to think if my product table must two fields for colors and other for sizes and store them like array (red,blue, pink,...) but it can not be the solution because there is specific sizes for each color also some of colors/sizes is not availabe

    so what database design I should use and how to implement that using javascript/php,
    I tried to search the net for tutorial of this kind but I was not lucky


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •