社区(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'";
[]
更多精彩
赞助商链接