PHP/MYSQL Table Issue

Hi all

Iam having problems getting the table to show the database fields how I want them too.

Currently they show as http://kingofthespring.co.uk/furniture.html

and I would like them to show as http://kingofthespring.co.uk/beds.html

============================================================================
Database echo and fetch PHP code

[php]while ($rows = mysql_fetch_array($result))
{ $col++;

if($col == 0)
	echo '<div class="wrapper">'; // create a new wrapper

echo '
';

echo ’

', $rows[title], '

';

echo’

’, $rows[description],’

’;

echo’

£', $rows[price],'';

echo ’
Read More


', $col;
if ($col == COLS)
{ $col = 0;
echo ‘’; // end wrapper
}
}[/php]

===========================================================================
From main html page shows where the php enters the page

[php]












Latest Furniture Deals


<?php include 'product.php'; ?>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>[/php]

Any help would be great.

Regards
Ant

The difference between the two pages is that one has a wrapper around the articles

And the other doesn’t.

how and where would I add that code??

Thanks
Ant

You changed something…

Sponsor our Newsletter | Privacy Policy | Terms of Service