【发布时间】:2016-03-30 06:02:54
【问题描述】:
假设我有两页 links.html 和 contents.php... 第一页仅包含 html 代码,而第二页包含一些 HTML + PHP 代码....
现在我想用两个 DIV 创建一个页面index.php,我想在其中显示\加载上述两个页面...
<html>
<body>
<div id="links" class="myCustom1">
<!--here will be the links.html page-->
</div>
<div id="contents" class="myCustom2">
<!--here will be the contents.php page-->
</div>
</body>
<html>
怎么做
【问题讨论】:
-
如果你不知道有人给出的答案是错误的,你为什么要投票给别人。我不会帮助你,因为如果我误解了你的问题或者你误解了我的回答,你会投票给我。只是我的2美分。顺便说一句,包含/要求是要走的路!
-
这是一个简单的初学者问题,这绝对没有错。人们投票只是......好吧,没有礼貌的说法。 ;)