: 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
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
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
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
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]>
- 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
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
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