WEB开发网
开发学院WEB开发PHP 社区(php&&mysql)一 阅读

社区(php&&mysql)一

 2008-02-15 18:00:16 来源:WEB开发网   
核心提示:} else { echo " <script language=javascript> alert('竒,ぃ惠狡'); </script> "; } } else { //璹綷 $

    } else {
     echo "
     <script language=javascript>
     alert('竒,ぃ惠狡');
     </script>
     ";   
    }
  } else { //璹綷
    $qsql="SELECT * from bbs_sml where sid='$sid' AND email='$email'";
    $rs=MySQL(和PHP搭配之最佳组合)_db_query($sql['db'],$qsql);
    if(MySQL(和PHP搭配之最佳组合)_num_rows($rs) > 0) { //虫
     $qsql="DELETE FROM bbs_sml where sid='$sid' AND email='$email'";
     $rs=MySQL(和PHP搭配之最佳组合)_db_query($sql['db'],$qsql);
    } else {
     echo "
     <script language=javascript>
      alert('﹟ゼ虫ず!');
     </script>
     ";

    }

  }

  } else {
    echo "
     <script language=javascript>
       alert('E-mailΑ岿粇');
     </script>
     "; 
  }
  echo "
     <script language=javascript>
     document.location='$PHP_SELF?proc=view&aid=$aid&sid=$sid&rid=$rid'
     </script>
     "; 
}

//===============================================================
function Send_the_doc_to_mail_list($aid,$sid,$rid){
  global $PHP_SELF,$HTTP_HOST;
  $DROOT=getenv('DOCUMENT_ROOT');
  include("sql.php3");
  $db=MySQL(和PHP搭配之最佳组合)_connect($sql['host'], $sql['user'] , $sql['passwd']); 
  if($sid==$rid)   $qsql="SELECT * from bbs_subj where id='$sid'";
  else $qsql="SELECT * from bbs_docs where id='$rid'";

上一页  1 2 3 4  下一页

Tags:社区 php mysql

编辑录入:coldstar [复制链接] [打 印]
赞助商链接