下面投票程序有错误?谁能帮我改正一下,多谢我回加50分的

来源:百度知道 编辑:UC知道 时间:2024/05/22 18:13:51
<?php
$status=0;
if(isset($polled)&&($polled=="c-e")){
$status=1;
}
#echo"$status";
if(isset($poll)&&($status==0)){
setcookie("polled","c-e",time()+86400,"/");#time=24h
}
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>

<body background="#ffffff">
<div > 与旧版页面相比你觉得新版:</div><br>
<?php
if(!isset($submit)){
?>
<form action="myPolls.php" method="get">
<input type="radio" name="poll_voteNr" value="1" checked>
<span> 信息量更大</span><br>
<input type="radio" name="poll_voteNr" value="2" >
<span> 网页更精美</span> <br>
<

先占个位。明天再看看。你这代码写得好复杂。。我重写一个还比分析你这个快。

不是JAVA的我不管,呵呵

不是asp c vb的我不管 谢谢!

我只看得懂C++,pascal,java的啊
有心无力啊