Getting multiple selected checkbox values in a string in javascript and PHP

后端 未结 6 987
半阙折子戏
半阙折子戏 2021-01-02 21:21

I have location name and location Id in database table. Using foreach loop i\'m printing the values in checkbox in PHP. I have a submit button which triggers a javascript. I

6条回答
  •  醉酒成梦
    2021-01-02 22:17

    This code work fine for me, Here i contvert array to string with ~ sign

         Created  
         Modified     
     Submit
    
    
    

提交回复
热议问题