MVC路由系统网址重写

时间:2019-11-30 11:03:00

标签: php url-routing

我是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的正确路径

thx为您提供帮助

0 个答案:

没有答案
相关问题