Displaying products in coluns

Hello I have a custom php cart working great, with product pages and shopping cart. My problem is that I cannot get the actual product pages to display in colums (I want 5 items per colum and 8 rows per page). Instead the whole thing is displayed as a row.

Here is the page that the products are shown on: http://www.theskinnyminnie.com/user/rent/ (I have removed the need to be signed on)

Here is the code I am using:

[php]<?php
// Run a select query to get myproducts

$dynamic List ="";
$sql = mysql_query(“SELECT * FROM Products ORDERY BY date_added DESC”);
$productCount = mysql_num_rows($sql)){
if(productCount > 0){
while($row = mysql_fetch_array($sql)){
$id = $row[“product_id”];
$product_name = $row[“product_name”];
$price = $row[“credits”];
$date_added = strftime("%b %d, %Y", strtotime($row[“date_added”]));
$dynamicList .= ’

' . $product_name . ' ' . $product_name . ' ' . $price . 'pts   '; } } else { $dynamicList = "We have no products listed in our store yet"; } mysql_close(); ?>[/php]

Please be more clear on what you want. At the page you posted /rent/, there are no products listed.
Going to the prices and plans and clicking on one, there is nothing displayed but a flash of errors.

Give us a little more info and we can help you.

Sponsor our Newsletter | Privacy Policy | Terms of Service