[請益] 字串錯誤?
如題
我的網頁一直出現下列文字!
Parse error: syntax error, unexpected T_VARIABLE in /home/a6450262/public_html
/nhush_sys/student_election/write.php on line 5
可是我檢查老半天,都沒發現有什麼問題ㄚ!
程式碼:
<?php
$_POST[no]==$no
$fread=fopen("data/count/.$no..txt","r+");
$read=fgets($fread);
fclose($fread);
$total=$read + $_POST['add'];
$fwrite=fopen("data/count/".$no.".txt","w+");
fputs("$fwrite","$total");
fclose($fwrite);
echo("<script>document.location.href="management.php"</script>");
?>
請哪位專家幫忙解答....Please!!
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 163.21.202.123
→
03/27 15:50, , 1F
03/27 15:50, 1F
→
03/27 16:03, , 2F
03/27 16:03, 2F
→
03/27 16:03, , 3F
03/27 16:03, 3F
推
03/27 16:07, , 4F
03/27 16:07, 4F
→
03/27 23:54, , 5F
03/27 23:54, 5F
→
03/27 23:55, , 6F
03/27 23:55, 6F
→
03/28 00:10, , 7F
03/28 00:10, 7F
→
03/28 00:11, , 8F
03/28 00:11, 8F
→
03/28 01:17, , 9F
03/28 01:17, 9F
→
03/28 01:18, , 10F
03/28 01:18, 10F
→
03/28 01:23, , 11F
03/28 01:23, 11F
→
03/28 10:26, , 12F
03/28 10:26, 12F