iansmith Posted September 24, 2008 Share Posted September 24, 2008 Using the PDO fetch functions with PDO::FETCH_ASSOC gets you an array keyed on the column names. This is a problem if you have multiple tables with the same column names. Is there any way to have it return the table and column name? Otherwise I need to do long lists of 'as' names in my SELECTs. Thanks! Link to comment https://forums.phpfreaks.com/topic/125658-can-i-get-fully-qualified-column-names-with-pdo/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.