thinkphp jump, thinkphp jump_PHP tutorial

WBOY
Release: 2016-07-13 09:56:17
Original
1001 people have browsed it

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...
Related labels:
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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!