thinkphp passes values ​​into the frame

WBOY
Release: 2016-08-18 09:15:30
Original
1325 people have browsed it

There is a game.html page. This page iframes a farm.html page. A value is obtained in the game method, but this game method still requires $this->display(); Now I want to obtain the value obtained in the game in the farm method. How can I do this?

Reply content:

There is a game.html page. This page iframes a farm.html page. A value is obtained in the game method, but this game method still requires $this->display(); Now I want to obtain the value obtained in the game in the farm method. How can I do this?

I don’t know if you are talking about 3.2 or 5.0. In addition, iframe no longer needs to input tp to be piped, but input Html and js for processing. It is recommended that you write like this
<script>v_id={$id}</script>

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