#1 shejiqi

就是我后台是框架构成的 如下

  
  
   
   
  

<br /><br />就是现在我的menu.html这个菜单页面 我想做成动态读取数据库菜单 就是把数据库的栏目读出来 应该怎么做<br />首先打开的就是这个index.html文件,显示了整个后台。好像menu.html没有办法写<br /><br />&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;function main(){<br />&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; if(!isset($_SESSION["admin_name"])){<br />&nbsp; &nbsp;&nbsp;&nbsp;echo "<script>alert('非法登录');location.href='index.php?c=admin_c';</script>";<br />&nbsp; &nbsp; }<br />&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; //$single = spClass("single");<br />&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; //$this->results = $single->findAll();<br />&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;<br />&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; $this->display("index.html");<br />&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;}<br /><br /><br />这个只能输出index.html&nbsp; &nbsp; 如何把//$this->results = $single->findAll();的数据传到menu.html页面上&nbsp;&nbsp;急求 <p><em> 2010-08-25 03:10:57 </em></p> </div> <div class="post-content"> <h3 id="2-shejiqi">#2 shejiqi </h3> 已经参照管理员另外的一个帖子解决了 非常感谢 <p><em> 2010-08-25 03:57:36 </em></p> </div> <div class="post-content"> <h3 id="3-shejiqi">#3 shejiqi </h3> speedphp用着还不错&nbsp; &nbsp;不知道speedcms也是你们开发的吗????? <p><em> 2010-08-25 03:58:39 </em></p> </div> <div class="post-content"> <h3 id="4-jake">#4 jake </h3> <div class="quote"><blockquote>speedphp用着还不错&nbsp; &nbsp;不知道speedcms也是你们开发的吗?????<br /><font size="2"><font color="999999">shejiqi 发表于 2010-8-25 03:58</font> <a href="http://speedphp.com/bbs/redirect.php?goto=findpost&pid=4526&ptid=883"><img src="\1" class="vm"></a></font></blockquote></div>:handshake<br /><br />PS:cms这个是 阿布 老大开发的。 <p><em> 2010-08-25 09:57:04 </em></p> </div> </div> </div> </div> <footer class="footer"> <p>Copyright &copy; 2008-2024 zzz. All Rights Reserved. &nbsp;&nbsp; SpeedPHP框架为开源软件,请遵循<a href="https://gitee.com/SpeedPHP/speed/blob/master/LICENSE" target="_blank">BSD许可证</a>使用。</p> <p> <img src="/beian.png" width=16 height=16 />&nbsp; <a href="https://beian.mps.gov.cn/#/query/webSearch?code=44011802000868" rel="noreferrer" target="_blank">粤公网安备44011802000868</a> &nbsp;&nbsp;&nbsp;&nbsp; <a href="https://beian.miit.gov.cn" target="_blank">粤ICP备2024222676号-1</a></p> </footer> </body> </html>