Save Value In PHP Session Variable
I have an html table which contains records, comes from mysql db. Each row also contains id (PK) wrt db table record. Now I want to save record id in PHP Session variable, when I c
Solution 1:
That's not possible because PHP is server-side language. However, you can use ajax for that.
Here is an ajax tutorial:
Solution 2:
To do this you probably need to use ajax. Which is where on a click event you could probably call a different php to save your values in session
Post a Comment for "Save Value In PHP Session Variable"