I use the following code to display the total posts of a category:
< ? php $count = $wpdb->get_var("SELECT category_count FROM $wpdb->categories WHERE cat_ID=7"); echo $count; ? >
What happens with the next line which I use pretty often in my templates:
< ? php query_posts("cat=7&showposts=3"); ? >
And last but not least I suppose the var $cat probably will not work anymore (I use it to display category specific content and more)
< ? php
$headerline = $wpdb->get_var("SELECT cat_name FROM $wpdb->categories WHERE cat_ID=$cat");
$headerline= strtolower($headerline); echo $headerline;
? >
Will all this (not) be valid for the next version?