How to use javascript variable in php? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to use javascript variable in php?

How to use JavaScript variable in php to insert data into database?

25th Dec 2019, 9:04 AM
Muzamil Qasim
Muzamil Qasim - avatar
1 Answer
0
I don't think that's possible. But, a way around it is by using http requests. Like, $.ajax or XMLHttpRequest.
25th Dec 2019, 9:15 AM
SoundInfinity
SoundInfinity - avatar