html的表格里能include php文件么? 如题,<table border="1"><tr><td>include "left.php"</td></tr><tr></tr></table> 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 表达不对吧<table border="1"><tr><td><?php include("menu.php"); ?> </td></tr><tr></tr></table> 表达不对吧<table border="1"><tr><td><?php include("left.php"); ?> </td></tr><tr></tr></table> 如果文件是php 那么可以 如果文件是.html 那么不可以.请使用js 来处理. html 不能直接 include PHP文件, 可以用jquery load执行。 ajax,post,get,load、你懂的…… 如果文件是php 方法请参照2 楼 <table border="1"><tr><td><?php include("menu.php"); ?> </td></tr><tr></tr></table>存成.php文件即可。 对于文件是php 参照二楼对于文件是html.参看下面.转载自朋友的新浪博客.版权所有 honeyphp1、Iframe:<iframe src="top1.html" frameBorder="0" width="900" scrolling="no" height="90"></iframe>2、Behavior的download方式<span id=show></span><IE:Download ID="oDownload" STYLE="behavior:url(#default#download)" /><script>function onDownloadDone(downDate){showImport.innerHTML=downDate}oDownload.startDownload('b.htm',onDownloadDone)</script>照着改改就好了.推荐使用第二种.. 看不懂这个日期函数 各位哥哥姐姐,我想问一个问题,希望得到回答。 PHP集成环境问题,大家进来看看啊 为什么翻页的参数传不过来啊 用jpgraph画图,怎么才能把x,y坐标轴固定在中间呢?求助!!很急 解决马上给分!!! 访问MYSQL的问题 初学PHP,问一个菜鸟问题,请大家不要吝啬,谢谢 大家帮忙看看这段代码 关于一个网站的想法,不知对不对, 请各位给点建议? 导航条怎么写啊? 面试题,求解 php+wml 电脑浏览器显示全部乱码
<table border="1">
<tr>
<td><?php include("menu.php"); ?> </td>
</tr>
<tr></tr>
</table>
<table border="1">
<tr>
<td><?php include("left.php"); ?> </td>
</tr>
<tr></tr>
</table>
如果文件是.html 那么不可以.请使用js 来处理.
如果文件是php
方法请参照2 楼
<tr>
<td><?php include("menu.php"); ?> </td>
</tr>
<tr></tr>
</table>存成.php文件即可。
对于文件是html.参看下面.转载自朋友的新浪博客.版权所有 honeyphp
1、Iframe:
<iframe src="top1.html" frameBorder="0" width="900" scrolling="no" height="90"></iframe>
2、Behavior的download方式
<span id=show></span>
<IE:Download ID="oDownload" STYLE="behavior:url(#default#download)" />
<script>
function onDownloadDone(downDate){
showImport.innerHTML=downDate
}
oDownload.startDownload('b.htm',onDownloadDone)
</script>
照着改改就好了.
推荐使用第二种..