Home > Backend Development > PHP Tutorial > Problem with thinkPHP U method?

Problem with thinkPHP U method?

WBOY
Release: 2016-08-10 09:07:31
Original
913 people have browsed it

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');

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template