Linux. PHP5. 

Why does this fail when using an array element, but using a variable will
work? Why should PHP care what the variable is I'm trying to store into? 

list($bar['CompanyCode'], $CompanyDB) = mysql_fetch_row($sth);

But this works:

list($foo, $CompanyDB) = SQL_ROW($sth);

And of course I'd have the extra...
$foo = $bar['CompanyCode'];

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

Reply via email to