somethin like this shld work jus set $who to be the uid
of the person u wana get the network from
of the person u wana get the network from
Code:
$ip=mysql_fetch_array(mysql_query("SELECT ipadd FROM ibwf_users WHERE id='".$who."'"));
$ip2=explode(",",$ip);
if(strpos($ip2[0],",")){
$exp_ip=explode(",",$ip);
$ip=$exp_ip[0];
}




Comment