I have this code below that shows me members from a group of people on my site, it works fine if there are a few hundred members in a group but when there are thousands i get error.
then this code below will show the member if a few hundred or less but in a long string like above, it just basicly echo's the line of id's out instead of running the quiry correctly
<?
if($line[member_ids]==''){
$temp_member_ids=0;
} else{
$temp_member_ids=$line[member_ids];
}
$sql="select * from friend_reg_user where auto_id in ($temp_member_ids) order by rand() limit 0,12";
$result_gmember=executequery($sql);
?>