Home >Backend Development >PHP Tutorial >thinkphp passes values into the frame
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?
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>