For all of you having problems accessing duplicated field names in queries with their table alias i have ...
php.net