Thanks mate, so now.. where do i run the query ?
because $userid is recognized only in vb pages, so where should this code be pasted ?
should i create a new plugin ? what should be hook location ?
Also, ive created a custom page where i want to display results of this query :
Quote:
select count ('thread') from thread where postusername='admin'
|
how should this query be printed on the page ?