How to pass aa JS variable to PHP?

Question

I am fetching data from an API using JS. How can I use this data with PHP. More specifically, assign this data to a $_SESSION variable in PHP so that I can use it in other pages(templates files)?

0
stemon 4 months 0 Answers 16 views 0

Leave an answer