![]() |
php direct evaluation
I'm pretty new to php coding, so bare with me.
What I'm trying to do is create in CMS a php direct evaluation evalutaion page that lists users from a certain usergroup. Currently I've got this as code Code:
$test=$db->query_read(SELECT userid,username from user WHERE usergroupid=10 ORDER BY username); Anybody that can push me in the right direction ? |
Try this:
Code:
global $db; |
Or how simple things can be...
That worked. Thanks ! |
All times are GMT. The time now is 11:21 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:
|