[wp-hackers] wp_list_categories()
Mike Schinkel
mikeschinkel at gmail.com
Sat Jan 3 00:17:58 GMT 2009
Daiv Mowbray <daiv at daivmowbray.com> wrote:
> That looks correct to me,
> I have :
> $wpdb->term_taxonomy.count as 'count',
> for example. and I take it that I don't need to put the $wpdb->
> but instead...
No, no! Actually using $wpdb-> is a WordPress best-practice. However, I
can't test SQL code with $wpdb-> in it in a MySQL client so I converted your
code to be able to test it w/o having to write a test PHP app.
Also, we'll continue this off-list since you emailed me directly requesting
so.
-Mike Schinkel
http://mikeschinkel
More information about the wp-hackers
mailing list