Recently, I took over a project that was developed using thinkphp because I had never been in touch with the framework before, so I recorded the mental retardation problem that I encountered during the learning process. Who makes me a technology little white .....
Questions: The use of the thinkphp version is the method of the 3.2,form form if not filled or get way, action how to write no way to submit to the Controller, method changed to post, you can enter the controller, but their own write jump can not use, return information but not jump.
Resolution: method= "POST" in the form, jump to take advantage of its own jump: $this->success ("Landing Success", U (' Post/index ')); Successfully resolved.
Summary: just beginning to use, do not understand thinkphp mechanism, pit is,,, it is suddenly can not jump, harm I suddenly began to find the bug .... I don't know if it's a configuration problem.
This article is from the "11287515" blog, please be sure to keep this source http://11297515.blog.51cto.com/11287515/1953604
"Learning Notes" thinkphp jump does not load the controller but to solve the problem of the Welcome page