Home  >  Article  >  Backend Development  >  thinkphp jump, thinkphp jump_PHP tutorial

thinkphp jump, thinkphp jump_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 09:56:17998browse

thinkphp jump, thinkphp jump

1 $this -> redirect('index',array('type'=>2,'id'=> 0)); //Jump directly

2 $this->success('Submission failed, error message: 0001",'Summer/index'); // Jump after prompt, no parameters

4 $this->success( 'Registration successful!',U("Activity/sign",array('id'=>$res))); // Jump after prompt, with parameters

5 $this->error( 'Already registered!',U("Activity/sign",array('id'=>$id))); // Jump after prompt, with parameters

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/988860.htmlTechArticlethinkphp jump, thinkphp jump 1 $this - redirect('index',array('type'=2 ,'id'=0)); //Jump directly to 2 $this-success('Submission failed, error message: 0001",'Summer/index'); //After prompt...
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