![]() |
problem driving me mad
PHP Code:
any help appreciated |
You can join the user and userfield tables right in the first query:
Code:
$users = $DB_site->query(" Code:
iif($perms[ismoderator] or $bbuserinfo['usergroupid']==25, "<td nowrap><p> </p></td>", "") |
it will need to pull field14 from userfield not users i think....so how exactly do I use join to stick both the coloms in the same query mate?
PHP Code:
|
Of course I forgot the JOIN line... duh.
Code:
$users = $DB_site->query(" |
cheers for the help mate but its still not working :( dont happen to know were its going wrong do you mate?
PHP Code:
|
Ok replace "SELECT userid" with "SELECT user.userid".
|
thanks a lot mate worked a charm!!
really appreciated!! :p :bunny: |
All times are GMT. The time now is 12:11 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|