Getting Results
| From: | Karl DeSaulniers | Date: | Fri, 21 Jan 2011 01:01:43 +0000 |
| Subject: | Getting Results | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-47641@lists.php.net to get a copy of this message | ||
Hello,
Can anyone tell me if I am doing this right? Or how to do this right?
Not sure on what to search for. What the search term would be for this type of call to the database.
$q = "SELECT username,userlevel,email,timestamp FROM ".USERS." ORDER BY username FROM ".VIP." ";
I am basically trying to get a list of user info from the user table based on the usernames that are in the vip table.
TIA,
Karl DeSaulniers
Design Drumm
http://designdrumm.com