> > printf("<td><a href=\"%s?id=%s&delete=yes\">Delete</a></td>", > > $PHP_SELF, > > $myrow["id"]); > > printf("<td><a > > href=\"%s?id=%s&submit=yes\">Update</td><td>%s</td><td> > > %s</td><td> %s</td></a></tr>", > > "update-inv.php", $myrow["id"], $myrow["name"], > > $myrow["details"], $yyy); My bad. Before this printf statement you need $my_var = mysql_fetch_array($yyy); and then in the printf statement change $yyy to $my_var["my_quarter"] That should work... Regards Joakim -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php