snowboardr
Programmer
database: mysql
I am making a banner exchange app, how would I get a random id? I know you can't put all ids in a string, because there could be 10000's of users..
my sql statment is this: I am selecting from all users that are in the correct category, and have enough credits, and excludes there account..
strSQL = "SELECT FROM ebanner WHERE bank > 0 AND bCat=" & sMyCat & " sMyID<>" & sMyID
Thanks for any help you can provide.
I'll surely give a start to whoever can help me get a solution for this.
www.vzio.com
/ ![[wink] [wink] [wink]](/data/assets/smilies/wink.gif)
I am making a banner exchange app, how would I get a random id? I know you can't put all ids in a string, because there could be 10000's of users..
my sql statment is this: I am selecting from all users that are in the correct category, and have enough credits, and excludes there account..
strSQL = "SELECT FROM ebanner WHERE bank > 0 AND bCat=" & sMyCat & " sMyID<>" & sMyID
Thanks for any help you can provide.
I'll surely give a start to whoever can help me get a solution for this.
www.vzio.com

![[wink] [wink] [wink]](/data/assets/smilies/wink.gif)