再开一帖,还是关于htm输出php的问题
原帖:http://topic.csdn.net/u/20120516/14/14e8916b-59cf-49d7-8dc0-0e9112b67b66.html?seed=440870802&r=78580743#r_78580743
最新情况是这样的:程序为phpmps,模版文件是.htm,我现在在模版文件中的代码是:
<!-- Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --><?php if(empty($swt_c)){ echo ""; }else{ echo "<script type=\"text/javascript\" src=\"{$swt_c}\">"; } ?>
<!-- Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --><script type="text/javascript" src="<?php%20echo%20http://xxx.xxx.com/xxx/swt.js;?>"></script>