[eluser]WebbHelp[/eluser]
Hi!
I am creating a blog, and I point out that I am a beginner with CodeIgniter
When you in the blog, have post a new blogpost, a function add is running, and the post are being add in the database:
Code:
$this->db->insert("posts", array('subject' => $subject , 'message' => $message));
$this->load->view('blog_view',$this->data);
You see, when I post in the database, the page that shows all blogposts is loaded.
The problem is how can I make the page blog_view to reload or something like that.
Because when I add a post in the database and then load the blog_view, I don't see the new post I just added, because I need to reload the page before.
Thanks //WebbHelp