set_message Dysplay |
[eluser]vrencianz[/eluser]
The set_message() function is used to display error messages (See http://ellislab.com/codeigniter/user-gui...tingerrors for setails). To display a success message 1) You can use the success page or: 2) Create two helper functions (in a file helpers/utils_helper.php, for example) Code: /** 3) On success call <b>set_feedback('Login success');</b> 4) Somewhere in your view insert Code: <?php if($feedback): ?> 5) load your view Code: $this->load->helper('utils'); I hope this helps. |
Messages In This Thread |
set_message Dysplay - by El Forum - 05-12-2012, 02:46 AM
set_message Dysplay - by El Forum - 05-12-2012, 04:34 AM
set_message Dysplay - by El Forum - 05-12-2012, 05:21 AM
|