RE: Drop down box NOT populated

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx] 
Sent: sexta-feira, 23 de Janeiro de 2004 16:03
To: Humberto Silva
Cc: php-db@xxxxxxxxxxxxx
Subject: Re:  Drop down box NOT populated


From: "Humberto Silva" <humberto@xxxxxxxxxxxx>

> 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

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux