This question already has an answer here:
I want to get the content of a txt file in JavaScript, so I want to call a php file to open and save the content of the text file into a variable and return it to JS is that possible?
I've sent variables from js to php with $.post()
and I tried to use $.get("php file")
but I can't return the file content can anybody help me?
</div>