I need to Use a Javascript Variable in a php function

In a Game I'm making, I need to save stuff to a .txt file (or JSON if you show me how) and I'm able to save files but not edit them or save them to specific space in my Project Folder. Please tell me if there is any way I can edit files with javascript or how to send it to a PHP function. I'm also using p5.js.

Tagged:

Answers

Sign In or Register to comment.