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.

 

First column in this example works, but not the second.

 

 
foreach($results as $r) 

 
{

 
?>

 
<tr>

 
<td>

 
<?php

 
echo $r->H;

 
?>

 
</td>

 
<td>

 
<?php

 
echo $r->COUNT(H);

 
?>

 
</td>

 
</tr>

 

Thanks,

 

Virgil Bierschwale

 

 



--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---

_______________________________________________
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/[email protected]
** 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.

Reply via email to