NYCPHP Meetup

NYPHP.org

[nycphp-talk] table image display

Anthony Wlodarski aw at sap8.com
Tue Aug 21 08:30:03 EDT 2007


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
aw at sap8.com

-----Original Message-----
From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org] On
Behalf Of John Campbell
Sent: Tuesday, August 21, 2007 1:03 AM
To: NYPHP Talk
Subject: Re: [nycphp-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






More information about the talk mailing list