hello guys. i want to add a button in php wich loads a document and includes it into the text area.
sample we have a file called document.txt
and if we load this file by pressing the button load, the textarea then is filled with the text that was in the file.
can this be possible?
Jump to Post
If you wanted to load the txt file after the page has already been generated without refreshing you'll have to send an AJAX request to another PHP script which reads the text in the file and sends it back. The script that reads the file can be PHP but the …
All 4 Replies
We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.