语法错误,意外的'$ fh'(T_VARIABLE) [英] syntax error, unexpected '$fh' (T_VARIABLE)
本文介绍了语法错误,意外的'$ fh'(T_VARIABLE)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我收到此错误:
语法错误,意外的"$ fh"(T_VARIABLE)
它在第17行(
I get this error:
syntax error, unexpected ''$fh'' (T_VARIABLE)
its on line 17 (
16: $myFile = "mems.txt";
17: $fh = fopen($myFile, 'a') or die("can't open file");
18: $stringData = <<<EOF
19: <tr>
20: <td></a href="{$_GET['uname']}.html>{$_GET['uname']}</a></td>
21: <td>Civilian</td>
22: <td>{$_GET['platform']}</td>
23: </tr> \n
24: EOF;
我看不到这个问题,以前已经解决过.任何人都可以帮忙吗?
I don''t see the issue, it has worked before. Can anyone help?
推荐答案
fh''(T_VARIABLE)
它在第17行(
fh'' (T_VARIABLE)
its on line 17 (
16:
myFile = " mems.txt"; 17:
myFile = "mems.txt"; 17:
fh = fopen(
fh = fopen(
这篇关于语法错误,意外的'$ fh'(T_VARIABLE)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文