请问在一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> <div>本文来*源gaodai^.ma#com搞#代!码网</div><pre>搞gaodaima代码
这样ob_start这个form有效吗?
——解决方案——————–
为什么没效?ob_start();开启缓存嘛,不影响