$str="SELECT * FROM net_costomer WHERE (costomernum like '%$scostomer%' OR name like '%$scostomer%' OR phone1 like '%$scostomer%' OR phone2 like '%$scostomer%' OR phone3 like '%$scostomer%' OR rname like '%$scostomer%' OR address1 like '%$scostomer%' OR address2 like '%$scostomer%') AND (fuid='".$_SESSION[uid]."' OR suid='".$_SESSION[uid]."' OR suid1='".$_SESSION[uid]."' OR suid2='".$_SESSION[uid]."' OR suid3='".$_SESSION[uid]."' OR suid4='".$_SESSION[uid]."')";