velusamy Posted February 6, 2009 Share Posted February 6, 2009 Dear Freaks, How do I find number of columns for a postgreSQl table ? Link to comment https://forums.phpfreaks.com/topic/144027-total-number-of-columns-in-table/ Share on other sites More sharing options...
Lodius2000 Posted February 6, 2009 Share Posted February 6, 2009 $q = select * from tablename where id = valid_id_number count($q[]) might get you in the right direction its late, I know its ugly Link to comment https://forums.phpfreaks.com/topic/144027-total-number-of-columns-in-table/#findComment-755728 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.