Need help with a product display using php dynamics

Discussion in 'PHP' started by servantofgod, Oct 8, 2008.

  1. #1
    Looking to be able to control this product display. Say for instance, I want 10 products in one column, and ten products in another column. The product display is here: http://www.whatsshopping.com/testme2.php

    The true code actually reflects one table, with the php coding causing 20x of this table to appear, as well as random products each time you reload. The code is here: http://www.whatsshopping.com/testme2.txt

    Currently, If I implement this product table into any template i am working on, all 20 of the products will be all over different parts of the page, screwing up the entire layout.
     
    servantofgod, Oct 8, 2008 IP
  2. EricBruggema

    EricBruggema Well-Known Member

    Messages:
    1,740
    Likes Received:
    28
    Best Answers:
    13
    Trophy Points:
    175
    #2
    first, make your code readable, use less tabs/spaces.

    Second i can't see your example due MySQL connection problems.
     
    EricBruggema, Oct 8, 2008 IP