【发布时间】:2011-09-13 12:35:08
【问题描述】:
如果我有一个文件 file.php,与 index.html 位于同一目录中:
文件.php:
<?php
echo "<body><img src=\"hi.jpg\" /><br /><p>I was here</p>"
?>
index.html:
<html>
<head></head>
<!-- I want to enter the PHP in file.php here --></body>
</html>
如何将 file.php 放入 index.html 中?
【问题讨论】:
-
这个问题与stackoverflow.com/questions/6065494/… 非常相似,已经得到解答。