帮我看下这段代码为什么不被执行 nbsp;HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
批量删除数据
<script><br />
function del(){<br />
if(!window.confirm('你是否要删除数据?')){<br />
return false;<br />
}<br />
function chek(){<br />
var leng = 3;<br />
if(leng==undefined){<br />
leng=1;<br />
if(!form1.chk.checked)<br />
document.form1.chk.checked=true;<br />
else<br />
document.form1.chk.checked=false;<br />
}else{ <br />
for( var i = 0; i < leng; i++)<br />
{<br />
if(!form1.chk[i].checked)<br />
document.form1.chk[i].checked = true;<br />
else<br />
<br />
document.form1.chk[i].checked = false;<br />
}<br />
} <br />
return false;<br />
}<br />
</script>
$conn=mysql_connect("localhost","root","123456");
mysql_query("set names gb2312");
mysql_select_db("db_mingrisoft");
?>
if(($action==null)or($_GET[action]=="show"))
{
?>
Statement: The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn