中易网

php怎样显示html代码

答案:5  悬赏:70  
解决时间 2021-02-11 20:13
php怎样显示html代码
最佳答案
使用file_get_contents()应该可以实现的吧,直接把模板内容赋给一个变量,再放到文本域里
全部回答
用这个试试: $a=htmlspecialchars($a); $a=stripslashes($a);
Echo file_get_contents('test.html');
file_get_contents($html_url); 再截取出body里面的内容,然后放到编辑器就 ok
/textarea> <; <?>= file_get_contents('45".html'?php $v 
我要举报
如以上问答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯