Welcome Guest, Not a member yet? Register   Sign In
trying to understand form_validation
#2

[eluser]InsiteFX[/eluser]
Code:
if ($this->form_validation->run() == FALSE)
{
    $this->load->view('myform');
}
else  // form submit below here!
{
    $this->db->insert('comments', $_POST);
      
    redirect('myBlog/comments/'.$entry_id);
    // $this->comment_insert();
    $this->load->view('myBlog/comments/'.$entry_id);
}

InsiteFX


Messages In This Thread
trying to understand form_validation - by El Forum - 07-02-2010, 01:39 PM
trying to understand form_validation - by El Forum - 07-02-2010, 08:33 PM
trying to understand form_validation - by El Forum - 07-03-2010, 05:38 AM
trying to understand form_validation - by El Forum - 07-03-2010, 06:43 AM
trying to understand form_validation - by El Forum - 07-03-2010, 11:31 AM
trying to understand form_validation - by El Forum - 07-03-2010, 12:28 PM
trying to understand form_validation - by El Forum - 07-03-2010, 04:08 PM
trying to understand form_validation - by El Forum - 07-04-2010, 07:45 AM
trying to understand form_validation - by El Forum - 07-04-2010, 08:05 AM
trying to understand form_validation - by El Forum - 07-04-2010, 08:15 AM
trying to understand form_validation - by El Forum - 07-04-2010, 11:02 AM
trying to understand form_validation - by El Forum - 07-04-2010, 11:48 AM



Theme © iAndrew 2016 - Forum software by © MyBB