在我的項目中我有這樣的情況。嵌入Javascript中的PHP
<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標籤,它不會產生任何錯誤。請幫助我找出這個問題,在此先感謝...
請使用正確的格式。 – Gumbo 2009-02-27 11:05:21
感謝Formating,這是我期待 – Sakthivel 2009-02-27 11:17:18