How PHP files get HTML JS data
How the php file gets the HTML data, not the action.
To make long-term inquiries, such as hospitals and departments
It means there is a php file, a.php, there are two HTML files, hospital files: b.html and Department Files: c.html file. The action of the C file is submitted to the a.html file. But how a file to get B file data, this data exists in JS, through JS to a file
php html js
Share to:
------Solution--------------------
You can put b.html content in the c.html and submit it in the past.
------Solution--------------------
I don't know what you mean, but a is going to write an Ajax method with the B-Exchange data.
------Solution--------------------
You this involves 3 pages, c.html submitted to b.html, then b.html how to operate it? Is it also a form submission? How does it relate to the a.php?
------Solution--------------------
Get b.html content in a.php
$b _html = file_get_contents (' b.html ');//This is the content of b.html