Welcome Guest, Not a member yet? Register   Sign In
(CLOSED) - Use of flashdata
#2

[eluser]jedd[/eluser]
Howdi, and welcome to the CI forums.

I think you have an easy problem. Instead of:

Code:
<?php $this->session->flashdata('flashmsg'); ?>

Try:
Code:
<?php echo $this->session->flashdata('flashmsg'); ?>


EDIT: Though you are more likely to want to pull the data out ( $bob = $this->session->flashda...) in your controller, and hand $bob out to your view(s).


Messages In This Thread
(CLOSED) - Use of flashdata - by El Forum - 03-19-2009, 03:35 PM
(CLOSED) - Use of flashdata - by El Forum - 03-19-2009, 03:44 PM
(CLOSED) - Use of flashdata - by El Forum - 03-19-2009, 04:05 PM
(CLOSED) - Use of flashdata - by El Forum - 03-19-2009, 04:13 PM
(CLOSED) - Use of flashdata - by El Forum - 03-19-2009, 05:13 PM
(CLOSED) - Use of flashdata - by El Forum - 03-19-2009, 05:21 PM
(CLOSED) - Use of flashdata - by El Forum - 03-19-2009, 06:09 PM
(CLOSED) - Use of flashdata - by El Forum - 03-19-2009, 06:49 PM
(CLOSED) - Use of flashdata - by El Forum - 03-19-2009, 07:08 PM
(CLOSED) - Use of flashdata - by El Forum - 03-19-2009, 07:40 PM



Theme © iAndrew 2016 - Forum software by © MyBB