Quote:
Your query returns a number not an array.
|
No it doesn't...at least last time I tried something similar it didn't
Are you sure you want to run that query on
every postbit?
Best would be to run the query say at the start of the page (e.g. showthread_start) and then use the variable in the postbit. (Note: You may need to use the $_GLOBALS['postcount']['posts'] variable to access the data)