codeigniter_tutorial
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
CodeIgniter<br />
$route['flashdata'] = 'FlashData_Controller';<br />
$route['flashdata/add'] = 'FlashData_Controller/add';<br />
Execute the above example by visiting the following link. Replace the yoursite.com with<br />
the URL of your site.<br />
http://yoursite.com/index.php/flashdata<br />
After visiting the above URL, you will see a screen as shown below.<br />
Figure: Flashdata Example<br />
Click on “Click Here” link and you will see a screen as shown below. Here, in this<br />
screen you will see a value of flash data variable. Refresh the page again and you will<br />
see a screen like above and flash data variable will be removed automatically.<br />
60