RE: [PHP-DB] Drop down box NOT populated

From: Date: Fri, 23 Jan 2004 16:12:14 +0000
Subject: RE: [PHP-DB] Drop down box NOT populated
Groups: php.db 
Request: Send a blank email to php-db+get-32599@lists.php.net to get a copy of this message
I confess i didn't read the original post ... You're absolutely right ... Humberto Silva World Editing Portugal -----Original Message----- From: John W. Holmes [mailto:holmes072000@charter.net] Sent: sexta-feira, 23 de Janeiro de 2004 16:03 To: Humberto Silva Cc: php-db@lists.php.net Subject: Re: [PHP-DB] Drop down box NOT populated From: "Humberto Silva" <humberto@telelista.pt> > Instead of: > > $row = mysql_fetch_array($sql) > > Use: > $row = mysql_fetch_assoc($sql) While I'm in the habit of doing that, using fetch_array() isn't going to cause any problems with regard to the original post. Which one you use is really a matter of personal opinion and rarely affects the code. ---John Holmes... -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.db (#32599) next »