Re: Drop down box NOT populated

From: Date: Fri, 23 Jan 2004 16:02:37 +0000
Subject: Re: Drop down box NOT populated
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-32598@lists.php.net to get a copy of this message
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...

« previous php.db (#32598) next »