Passing javascript variable to PHP

前端 未结 4 1728
渐次进展
渐次进展 2020-12-07 05:01

I refer to this question: Javascript value to PHP with Jquery

I tried with below code in file named a.php:



        
4条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-07 05:17

    Perhaps with this url, you need to precise the GET parameter "test" in the URL

    http://localhost/learn/a.php?test=hello

提交回复
热议问题