Home > Backend Development > PHP Tutorial > 网页嵌套php,该如何处理

网页嵌套php,该如何处理

WBOY
Release: 2016-06-13 13:30:48
Original
826 people have browsed it

网页嵌套php
在一个大的网页中例如a.php , 其中需要嵌进去一个小网页b.php,在小的网页中用表单实现数据的添加存储,并在小网页b.php中返回结果
整个过程,大的网页不受影响,是怎么实现的???

------解决方案--------------------
最简单的方法就是用iframe来引入小网页,并且JAVASCRIPT来控制交互操作
------解决方案--------------------
ajax
------解决方案--------------------
iframe 嵌入b.php 。。。

所有的页面刷新加载都用iframe的location控制。

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template