Undefined index in PHP post

后端 未结 3 1087
鱼传尺愫
鱼传尺愫 2021-01-26 02:43

I take a form and do variable checking in jquery then pass it to a php file in ajax but I am getting this notice

Notice: Undefined index: your_name in C:\\xampp\\htdocs\

3条回答
  •  余生分开走
    2021-01-26 03:25

    not seen any issue in your js code but your php code have lil flaw

     

    Note: PHP Error handling should be properly done or you can disable the php warnings

提交回复
热议问题