Home  >  Q&A  >  body text

I would like to ask why the data is saved successfully, but the message box prompting that the save is successful does not pop up.

Page debugging, display: properties of undefined(readin 'code'). Use echo.json_encode(['code'=>0,'msg'='Save successfully'])

思远思远611 days ago842

reply all(2)I'll reply

  • 思远

    思远2023-03-03 18:02:08

    The problem is solved. It was because the page encoding was wrong. Change it to utf8 and it will be fine.

    reply
    0
  • phpcn牛

    phpcn牛2023-03-03 17:02:47

    Otherwise try exit or return

    reply
    0
  • Cancelreply