【发布时间】:2010-10-10 07:23:45
【问题描述】:
在我的项目中我有这样的情况。
<script language="JavaScript">
function fonsubmit()
{
alert('Out side PHP');
//Here the php code starts
include("customerpage.php");
$cc="us";
$clang="en";
$cpath="us";
some coding goes here......
Php ends here
}
</script>
但它显示对象预期错误。这有什么问题?但我只给出 PHP 标签它不会产生任何错误。请帮我找出这个问题,在此先感谢...
【问题讨论】:
-
请使用正确的格式。
-
感谢格式化,这是我所期待的
标签: php javascript