New course! Every coder should learn Generative AI!
Try a free lesson0
How to use javascript variable in php?
How to use JavaScript variable in php to insert data into database?
1 Answer
0
I don't think that's possible. But, a way around it is by using http requests. Like, $.ajax or XMLHttpRequest.