PHP中用JQ这样写$("#login").html('<?php include "./login.txt"; ?>');语法有错吗?

日期:2021-10-27 00:09:58 人气:1

PHP中用JQ这样写$("#login").html('<?php include "./login.txt"; ?>');语法有错吗?

login.txt
文件输出的内容中是否有单撇号呢,有就会报错.
例如:文本文件的内容是
echo
"大家好's";
最好把页面运行后的
html
贴出来。
    A+
热门评论