Home > Backend Development > PHP Tutorial > 关于 令牌成功 后的 跳转问题

关于 令牌成功 后的 跳转问题

WBOY
Release: 2016-06-23 14:24:16
Original
942 people have browsed it

我的添加程序







图一:



单击添加后跳转到图二


图二:





我希望提交成功后跳转到图一,但是


因为id值是变化的,一直不能成功,求方法,详细点最好


回复讨论(解决方案)

附上图一图二对应的表单代码


图一:




图二:

你现在跳转的代码在哪?

直接上代码
$this->assign("jumpUrl","admin/menu/index/id/1");//设置你要跳转的url

       $this->success("新增成功!");

楼上说的很对

一般这里的/id/1改成当前的$id值即可!

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