Hi I'm making shopping cart and i have a problem displaying the products from the database. The language is PHP and here's a part of the code where I think the problem is? Can you help me? thanks
Code:
<table border="0" cellpadding="2px" width="600px">
<?
$result=mysql_query("select * from products");
while($row=mysql_fetch_array($result)){
?>
<tr>
<td><img src="<?php=$row['picture']?>" /></td>
<td> <b><?php=$row['name']?></b><br />
<?php=$row['description']?><br />
Price:<big style="color:green">
$<?php=$row['price']?></big><br /><br />
<input type="button" value="Add to Cart" onclick="window.location='shoppingcart.php'" />
</td>
</tr>
<tr><td colspan="2"><hr size="1" /></td>
<? } ?>
</table>