分享到:
fc_back

公考答题世界杯

开始答题 开始答题

2万人已参与

qback
alert('该用户已经作答过了!');"; exit(); } $fenshu = 0; if($_POST['dx1']=="D") $fenshu=$fenshu+3; if($_POST['dx2']=="C") $fenshu=$fenshu+3; if($_POST['dx3']=="D") $fenshu=$fenshu+3; if($_POST['dx4']=="B") $fenshu=$fenshu+3; if($_POST['dx5']=="C") $fenshu=$fenshu+3; if($_POST['dx6']=="A") $fenshu=$fenshu+3; if($_POST['dx7']=="D") $fenshu=$fenshu+3; if($_POST['dx8']=="C") $fenshu=$fenshu+3; if($_POST['dx9']=="B") $fenshu=$fenshu+3; if($_POST['dx10']=="A") $fenshu=$fenshu+3; if($_POST['dx11']=="D") $fenshu=$fenshu+3; if($_POST['dx12']=="A") $fenshu=$fenshu+3; if($_POST['dx13']=="D") $fenshu=$fenshu+3; if($_POST['dx14']=="C") $fenshu=$fenshu+3; if($_POST['dx15']=="C") $fenshu=$fenshu+3; if($_POST['dx16']=="B") $fenshu=$fenshu+3; if($_POST['dx17']=="B") $fenshu=$fenshu+3; if($_POST['dx18']=="B") $fenshu=$fenshu+3; if($_POST['dx19']=="A") $fenshu=$fenshu+3; if($_POST['dx20']=="C") $fenshu=$fenshu+3; if($_POST['dx21']=="C") $fenshu=$fenshu+4; if($_POST['dx22']=="C") $fenshu=$fenshu+4; if($_POST['dx23']=="C") $fenshu=$fenshu+4; if($_POST['dx24']=="C") $fenshu=$fenshu+4; if($_POST['dx25']=="D") $fenshu=$fenshu+4; if($_POST['dx26']=="A") $fenshu=$fenshu+4; if($_POST['dx27']=="A") $fenshu=$fenshu+4; if($_POST['dx28']=="C") $fenshu=$fenshu+4; if($_POST['dx29']=="A") $fenshu=$fenshu+4; if($_POST['dx30']=="A") $fenshu=$fenshu+4; $sql = "insert into 2014sjbdt values(NULL,'".$uname."','".$fenshu."')"; if(mysql_query($sql)){ echo ""; // echo "alert('提交成功;得分".$fenshu."');"; } } ?>