search

Home  >  Q&A  >  body text

I followed the teacher's idea, but the displayed effect was that the data submission was unsuccessful and it jumped directly to the current page.

user页面.JPG注册页面.JPG

奕轩奕轩2234 days ago1298

reply all(5)I'll reply

  • s. y.30h.c. t .m.g.w.

    s. y.30h.c. t .m.g.w.2019-04-19 14:47:21

    I am like this too. Is there any solution?


    reply
    0
  • ma

    Just like you, even after successfully inserting into the database, it still jumps to the registration page and will not jump to the so-called home page.

    ma · 2019-07-11 20:59:15
  • 天蓬老师

    天蓬老师2018-11-15 22:28:29

    What is the specific error message?

    reply
    0
  • 奕轩

    Error variable type error: array

    奕轩 · 2018-11-15 23:04:03
    飞仕

    Hello, Teacher Zhu! I followed your code, but after submitting the registration page, there was no response and no errors, so I couldn't proceed. Please advise. Many thanks! The discovery process is as follows: [ LANG ] /Applications/MAMP/htdocs/zh/thinkphp/lang/zh-cn.php [ ROUTE ] array ( ) [ HEADER ] array ( 'host' => 'zh.io', 'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', ' accept-language' => 'zh-cn', 'accept-encoding' => 'gzip, deflate', 'content-type' => 'application/x-www-form-urlencoded', 'origin' => ' http://zh.io', 'user-agent' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_1) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.1 Safari/605.1.15 ', 'referer' => 'http://zh.io/index/user/register', 'upgrade-insecure-requests' => '1', 'dnt' => '1', 'content-length' => '90', 'cookie' => 'thinkphp_show_page_trace=1|2; thinkphp_show_page_trace=1|2', 'connection' => 'keep-alive', ) [ PARAM ] array ( 'name' => 'Peter', 'email' => 'peter@php.cn', 'mobile' => '12345678901', 'password' => '123456', 'password_confirm' => '123456', ) [ VIEW ] /Applications/MAMP/htdocs/zh/application/index/view/user/register.html [ array ( 0 => 'title', ) ]

    飞仕 · 2018-11-18 10:04:28
  • Cancelreply