Home  >  Article  >  Backend Development  >  How to implement automatic jump execution in php

How to implement automatic jump execution in php

WBOY
WBOYOriginal
2016-07-11 09:17:421290browse

php

After executing the show in A, it will automatically jump to execute B. How to implement it specifically (⊙o⊙)?

Reply content:

You can write javascript tags
echo " type='text/javascript'>";

echo "window.location.href='https://www.csdn.net'";

echo "< /script>";

Are A and B two pages or what? Is show a server function or a client js function? If it is a server, just execute show and then redirect to B.

thinkphp? Just add a parameter

Statement:
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