菜鸟新人,写的第一个程序。无奈提示
Parse error: syntax error, unexpected T_STRING in D:\wamp\www\cute.php on line 14前辈们帮忙看看是 语法的问题 还是配置环境的问题。。<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title> New Document </title>
<meta name="Generator" content="EditPlus">
<meta name="Author" content="">
<meta name="Keywords" content="">
<meta name="Description" content="">
</head> <body><?php
$a="我靠";
echo "$a";
?>
<form>
上传文件表单 <input type="file" class="hehei">
</input>
<div> <input type="submit" value="点击上传"></div>
</form>
</body>
</html>
Parse error: syntax error, unexpected T_STRING in D:\wamp\www\cute.php on line 14前辈们帮忙看看是 语法的问题 还是配置环境的问题。。<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title> New Document </title>
<meta name="Generator" content="EditPlus">
<meta name="Author" content="">
<meta name="Keywords" content="">
<meta name="Description" content="">
</head> <body><?php
$a="我靠";
echo "$a";
?>
<form>
上传文件表单 <input type="file" class="hehei">
</input>
<div> <input type="submit" value="点击上传"></div>
</form>
</body>
</html>
echo "$a";
这两句后面的“;”要在英文输入法下输入!!!
谢谢哥,很温心。问题也解决了,虽然很小的问题,不痛不痒
但就像你说的,大家都是这么过来的。
再次感谢,我要更加努力学好,将来也可以帮助到别人。:)
谢谢super
echo "$a";//此处“”去掉-------------------
话说我也算新手吧 大家共勉
不都是从hello world 开始的嘛
echo $a;
这样就OK