Hi all i need some help displaying results from a database and adding a button next to each result.
connecting is fine but what is the best way to place items in a table (the bit after while ($row = mysql_fetch_row ($result)) and adding the following code to a button on each line:
<a href="cart.php?action=add_item&id=<?php echo $row["itemId"]; ?>&qty=1">Add Item</a>
as i want to add the item by the id to the cart.
many thanks
ceanth