请问在一PHP文件中引用另一PHP文件中的有效吗
rt
1.php:
- PHP code
<!---ecms Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->ob_start();include 'pages/login-template.php';$loginForm = ob_get_clean();
pages/login-template.php:
- PHP code
<!---ecms Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->" method="post"> <table> <caption>用户登录</caption> <tr> <td id="title">用户名</td> <td>"/></td> </tr> <tr> <td id="title">密码</td> <td></td> </tr> <tr id="btn"> <td></td> <td></td> </tr> </table>
这样ob_start这个form有效吗?
——解决方案——————–
为什么没效?ob_st@本文来*源gaodai#ma#com搞*!代#%^码$网*art();开启缓存嘛,不影响