The Arcive of vBulletin Modifications Site. |
|
2 queries tied together? Details »»
|
|||||||||||||||||||||||||
i have this code:
Code:
$getthreads=$DB_site->query_first("SELECT COUNT(*) AS threads FROM thread WHERE lastpost>$bbuserinfo[lastvisit]");
$lastthreads=number_format($getthreads['threads']);
$getposts=$DB_site->query_first("SELECT count(*) AS posts FROM post WHERE dateline>$bbuserinfo[lastvisit]");
$lastposts=number_format($getposts['posts']);
Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
I dont thing so. Unless it was from the same table.
|
|
#3
|
|||
|
|||
|
yeah from my small knowledge of mysql i have to agree with neo... i doubt its possible ;\
g-force2k2 |
![]() |
|
|