Home > Article > Backend Development > 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
The above introduces thinkphp jump, including aspects of content. I hope it will be helpful to friends who are interested in PHP tutorials.