Re: mysql_fetch_object

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

 




How does it handle fully qualified conflicting columns, like 'select a.name, b.name from a, b'?


It won't handle that properly; in your example $row->name would be b.name (it'd overwrite a.name). You have to alias same-named columns.

Hans

Ok, I don't have that case but I was curious.

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