繁体   English   中英

MVC路由系统网址重写

[英]MVC routing system url rewriting

我是PHP的新手,我尝试在我的MVC上做一个路由系统。

到目前为止,我的路线工作非常完美,但是现在我试图使用GET方法调用一个文章ID,我将通过一些链接共享我的所有代码,希望你们花些时间来帮助我。

我的.htaccess: http//sharemycode.fr/0ia

索引: http//sharemycode.fr/9l5

路由器: http//sharemycode.fr/a9w

型号: http : //sharemycode.fr/26b

控制器: http : //sharemycode.fr/4wr

文章页面: http : //sharemycode.fr/xe4

呼叫我的sql: http//sharemycode.fr/vc5

我很确定我错过了索引上的某些内容,无法找到/pro4/chapterRead.php?id=$1的正确路径

谢谢你的帮助

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM