ignace Posted April 1, 2009 Share Posted April 1, 2009 I am using a program to manage my databases and everytime i execute a query it gives me the header name (as it should) and its data type. Now am i wondering how can i do the same thing? Has anyone any experience with this? Link to comment https://forums.phpfreaks.com/topic/152041-solved-retrieving-data-types-from-a-select-query/ Share on other sites More sharing options...
ignace Posted April 1, 2009 Author Share Posted April 1, 2009 Don't bother i've found it Link to comment https://forums.phpfreaks.com/topic/152041-solved-retrieving-data-types-from-a-select-query/#findComment-798476 Share on other sites More sharing options...
fenway Posted April 1, 2009 Share Posted April 1, 2009 Don't bother i've found it Then share with the rest of us. Link to comment https://forums.phpfreaks.com/topic/152041-solved-retrieving-data-types-from-a-select-query/#findComment-798583 Share on other sites More sharing options...
ignace Posted April 1, 2009 Author Share Posted April 1, 2009 Well, I didn't really found an SQL query for it, but instead i used mysql_fetch_field() which provides me with the meta data. Link to comment https://forums.phpfreaks.com/topic/152041-solved-retrieving-data-types-from-a-select-query/#findComment-798892 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.