$sql = "select username from gamedb.tb_user where mid=10000 ";//取出帐号用于mysql查询
$stid = OCIParse($conn, $sql) or die('错误');
OCIExecute($stid, OCI_DEFAULT);
$flag=true;
while ($succ = OCIFetchInto($stid, $row)) 
{
  
 $sql2= "select * from yxhome_intoexcle where guest='$row[0]'";//根据帐号提取帐号、角色、等级、注册时间       $result=mysqli_query($link,$sql2);
       if(mysqli_num_rows($result))
  {
    while($row2=mysqli_fetch_array($result))
    {             }