I think John hit the nail on the head but for your mysql_fetch_array($result), I like to use mysql_fetch_array($result, MYSQL_ASSOC) just to qualify that the array returned is associative. Or for short you can use mysql_fetch_assoc($result). That way only an associative array is returned.
Anthony Wlodarski Senior Technical Recruiter Shulman Fleming & Partners 646-285-0500 x230 [EMAIL PROTECTED] -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Campbell Sent: Tuesday, August 21, 2007 1:03 AM To: NYPHP Talk Subject: Re: [nyphp-talk] table image display The "<table ... >" should be before the while loop, and you are missing some brackets around the while loop. _______________________________________________ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk NYPHPCon 2006 Presentations Online http://www.nyphpcon.com Show Your Participation in New York PHP http://www.nyphp.org/show_participation.php _______________________________________________ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk NYPHPCon 2006 Presentations Online http://www.nyphpcon.com Show Your Participation in New York PHP http://www.nyphp.org/show_participation.php