Thank you all I managed to get it worked out like this
<table width=100%>
<?
$query = "SELECT id, name, image, quantity FROM {$config["prefix"]}_my_items
WHERE uid={$session["uid"]} ORDER BY id";
$ret = mysql_query($query);
while($row = mysql_fetch_array($ret)){
$image = $row['image'];
$name = $row['name'];
$quantity = $row['quantity'];
$display_block ="<CENTER><img src=$image><br><font size =
2>$name<BR>$quantity</font></CENTER>";
echo "<td>$display_block</td>";
}
echo"</table>";
?>
Jennifer
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.344 / Virus Database: 191 - Release Date: 4/2/2002
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php