Home  >  Article  >  Backend Development  >  Problem with thinkPHP U method?

Problem with thinkPHP U method?

WBOY
WBOYOriginal
2016-08-10 09:07:31887browse

Why can’t I find the address of my U command? I wrote the Index controller and save method

Problem with thinkPHP U method?
Problem with thinkPHP U method?
Problem with thinkPHP U method?

Problem with thinkPHP U method?

Reply content:

Why can’t I find the address of my U command? I wrote the Index controller and save method

Problem with thinkPHP U method?
Problem with thinkPHP U method?
Problem with thinkPHP U method?

Problem with thinkPHP U method?

URL rewriting turned on?

When parsing the html page, are you sure that your U method has been parsed? The specific operation is: check the page source code.

XmlResquest.. It means that ajax cannot submit this url link (premise, ajax is invalid)

Later I found out that there was no problem with my U command. I submitted it to the corresponding method. I was confused when I wrote it. It was display() that was wrong. It should be display('Indexindex');

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn