解析错误:意外的'<'(打开HTML标记标记) [英] Parse error: Unexpected '<' (opening HTML tag marker)

查看:109
本文介绍了解析错误:意外的'<'(打开HTML标记标记)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的Java脚本在测试HTML页面上执行正常,但是在php所需的页面上会导致错误。

页面


加载页面时,脚本会在消息框中显示

因为脚本可以解决问题应该放在其他地方..

展开 | 选择 | Wrap | 行号

解决方案

Heya,dbldeegd。欢迎来到TSDN!


让我们来看看你的PHP代码。



Heya,dbldeegd。欢迎来到TSDN!


让我们来看看你的PHP代码。



谢谢pbmods。


代码相当冗长....

并包含


自定义javascript。=''


(PMDROOT。''/ includes / template_setup.php'');

?>


问题在于JS应该放在哪里?

这是应该发生的事情


我发送附件

My Java Script executes fine on an test HTML page, but on the required page which is php results in an error.

the page

The script drops in message box when the page is loaded
since the script works the problemshould lie elsewhere..

Expand|Select|Wrap|Line Numbers

解决方案

Heya, dbldeegd. Welcome to TSDN!

Let''s have a look at your PHP code.


Heya, dbldeegd. Welcome to TSDN!

Let''s have a look at your PHP code.


Thanks pbmods.

The code is fairly lengthy....
and includes


custom javascript .=''

(PMDROOT.''/includes/template_setup.php'');
?>

the problem is where should the JS be placed??

here is what should happen.

I couls send an attachment


这篇关于解析错误:意外的'<'(打开HTML标记标记)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆