hdogg
08-14-2007, 09:27 AM
I create the array userid[]
usersid[1] = 1231
usersid[2] = 455
usersid[3] = 1251
usersid[4] = 1291
The array is populated by form check box's submitted.
I want to SELECT items from a database with those userid's
SELECT USER_ID FROM USERS WHERE USERID = "userid"
How do I get that to work?
usersid[1] = 1231
usersid[2] = 455
usersid[3] = 1251
usersid[4] = 1291
The array is populated by form check box's submitted.
I want to SELECT items from a database with those userid's
SELECT USER_ID FROM USERS WHERE USERID = "userid"
How do I get that to work?