![]() |
Quote:
Then $userinfo is an array that has all the user info such as username, $userinfo['username'], etc. |
You are the king! Thanks again! :D
|
Hello again! :)
I am currently trying to pull users from a specific usergroup out of the database. How would I go about doing that? This is the query I have. It only pulls one user out of the database. :( PHP Code:
|
Using the query_first only gets the first result; use query instead, but then you need to use $DB_site->fetch_array($user); in a while statement.
|
Hey,
I appreciate all the help, Gary W. But I am comfused on the while statement. I can't seem to figure out how you make one pretty much. I've looked through the PHP Manual, vBulletin Manual, searched several PHP sites and I am still baffled. I understand a little part I belive. PHP Code:
|
Try something like
PHP Code:
|
Thanks man! Though I still don't see where I went wrong at though. Could've it have actually been the template where I forgot the <br /> tag? :confused:
Edit: The <br /> kind of messed up the layout. So I removed it and it still works. :). Edit again: NEvermind. I missed a . in the eval part in the while query! :D But thank you so much! :) |
All times are GMT. The time now is 12:37 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:
|