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! Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.