Użyj IN
SQL operator zamiast:
select distinct(username) from users where fb_uid in (value1, value2, ...)
http://www.w3schools.com/SQl/sql_in.asp
Użyj IN
SQL operator zamiast:
select distinct(username) from users where fb_uid in (value1, value2, ...)
http://www.w3schools.com/SQl/sql_in.asp