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

2004-01-23 Thread Humberto Silva
: Re: [PHP-DB] Drop down box NOT populated From: "Humberto Silva" <[EMAIL PROTECTED]> > 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

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

2004-01-23 Thread John W. Holmes
From: "Humberto Silva" <[EMAIL PROTECTED]> > 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

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

2004-01-23 Thread Humberto Silva
Cc: [EMAIL PROTECTED] Subject: Re: [PHP-DB] Drop down box NOT populated From: <[EMAIL PROTECTED]> > Jsut a guess... > Your row has a capital 'A' in the SQL statement, and a lower case 'a' > in teh $row[] call.. > > does that matter? Yep, that would matter

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

2004-01-23 Thread John W. Holmes
From: <[EMAIL PROTECTED]> > Jsut a guess... > Your row has a capital 'A' in the SQL statement, and a lower case 'a' in > teh $row[] call.. > > does that matter? Yep, that would matter, but not the exact problem. I don't know if this thread has already been answered or not, so... The real problem

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

2004-01-23 Thread Tristan . Pretty
Jsut a guess... Your row has a capital 'A' in the SQL statement, and a lower case 'a' in teh $row[] call.. does that matter? "Larry Sandwick" <[EMAIL PROTECTED]> 22/01/2004 15:46 Please respond to <[EMAIL PROTECTED]> To <[EMAIL PROTECTED]>

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

2004-01-22 Thread Ricardo Lopes
- Original Message - From: Larry Sandwick To: [EMAIL PROTECTED] Sent: Thursday, January 22, 2004 3:46 PM Subject: [PHP-DB] Drop down box NOT populated Can anyone tell me what I am missing here, The Select statement does not populate my drop down window? My drop

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

2004-01-22 Thread Stuart
Larry Sandwick wrote: Can anyone tell me what I am missing here, The Select statement does not populate my drop down window? My drop down box is empty ! $how = mysql_query("SELECT count(distinct(account)) from Backlog") or die ("Something bad happened: " . mysql_error()); $how_many = mysql_re

[PHP-DB] Drop down box NOT populated

2004-01-22 Thread Larry Sandwick
Can anyone tell me what I am missing here, The Select statement does not populate my drop down window? My drop down box is empty !     [snip]     include '../db.php';   $how = mysql_query("SELECT count(distinct(account)) from Backlog") or die ("Something bad happened: " . mysq