The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Unable to get member's info via my sql
Hi,
I'm trying to get the mailing list by running the script below: SELECT userid, username, email, joindate FROM user WHERE (options &16) and usergroupid<>8 and userid > 22481 I worked fine until recently. the script only returns 81 records but the newest member id is 24790. I checked the table "user" and new records are not saved there. Please let me know which table I need to use. Thanks. Michelle |
#2
|
||||
|
||||
Quote:
|
#3
|
|||
|
|||
Quote:
SELECT max( `userid` ) FROM `user` max(`userid`) 22574 Thanks. Michelle |
#4
|
||||
|
||||
Have you taken a look at the table in the database? That just doesn't make sense.
|
#5
|
|||
|
|||
Yes I did. I browsed the records in database, same as the query result.
I can general the correct mailing list from forum admin but the only field available is email address, there're no first name, last name available. Thanks. Michelle --------------- Added [DATE]1259008187[/DATE] at [TIME]1259008187[/TIME] --------------- Thank you for your time. The problem found. I wasn't querying the correct database. I cloned a database when migrating to a new sever and I was still querying the old database. Thanks. Michelle |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|