On Fri, 2002-07-05 at 14:43, NIPP, SCOTT V (SBCSI) wrote:

> 
> mysql_select_db($database, $Test);
> $query_SA = "SELECT sbcuid FROM contacts_sa";
> $SA = mysql_query($query_SA, $Test) or die(mysql_error());
> $PASS = $SA;

<snip>

I think here is your problem you have the select element name pass just
as you have the select query name pass it seems that php might
initialize the variable to the select element name instead of the query
.
> $passed = "<select size=\"1\" name=\"pass\">\n";
> $passed .= "<option>SA UID</option>\n";
> $passed .= "<option>------</option>\n";
> while($name = mysql_fetch_row($PASS)) {
>   $passed .= "<option>$name[0]</option>\n";
> }
> 



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

Reply via email to