Setting a PHP $_SESSION['var'] using jQuery

后端 未结 8 1715
情歌与酒
情歌与酒 2020-12-01 00:00

I need to set a PHP $_SESSION variable using the jQuery. IF the user clicks on an image I want to save a piece of information associated with that image as a session variab

相关标签:
8条回答
  • 2020-12-01 01:02

    Whats you are looking for is jQuery Ajax. And then just setup a php page to process the request.

    0 讨论(0)
  • 2020-12-01 01:02

    in (backend.php) be sure to include include

    session_start();

    -Taylor http://www.hawkessolutions.com

    0 讨论(0)
提交回复
热议问题