php method to close iframe: first create a PHP file and name it [test.php], write HTML content; then use the a tag to create a link to jump to test2, and set the link to Carrying two parameters; finally create another page and use echo output to receive the parameters.
php method to close iframe:
1. Create a PHP file and name it test. php.
2. In the test.php file, write HTML content (including title, body, metadata, etc.) to display the page.
3. In the test.php file, inside the body tag, use the a tag to create a link to test2.php, and set the link to carry two Parameters, one is act and the other is num.
4. Create another PHP page named test2. to receive the value passed from the test.php page.
#5. In the test2.php file, use echo to output the received act and num parameters.
6. Open the test.php file in the browser, click the link, and jump to the test2 page. , and view the output of the received act and num values.
If you want to learn more about programming, please pay attention tophp Training column!
The above is the detailed content of How to close iframe in php. For more information, please follow other related articles on the PHP Chinese website!