If you can change the query string just alias the column: SELECT H, COUNT(H) AS hcount FROM `wp_lca_2013` where left(m,2) = '11' GROUP BY H order by count(H) desc;
In VFP & SQL the AS is optional so: SELECT H, COUNT(H) hcount FROM `wp_lca_2013` where left(m,2) = '11' GROUP BY H order by count(H) desc; -- rk -----Original Message----- From: ProfoxTech [mailto:[email protected]] On Behalf Of Virgil Bierschwale Sent: Wednesday, September 24, 2014 2:33 PM To: [email protected] Subject: [NF] view results of cursor in php SELECT H, COUNT(H) FROM `wp_lca_2013` where left(m,2) = '11' GROUP BY H order by count(H) desc; How do I find out what the column name is for that second column. _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/DF1EEF11E586A64FB54A97F22A8BD04423C5BB4DDA@ACKBWDDQH1.artfact.local ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

