$this->form_validation->run() returns FALSE |
PHP Code: // save
Here is my view page.
Code: <form class="form-horizontal form-stripe" action="<?php echo base_url(); ?>contact/insert" method="POST" >
Why did not insert my message in Database? But false is working .
array(5) { ["name"]=> string(18) "Md Nababur Rahaman" ["email"]=> string(19) "[email protected]" ["subject"]=> string(48) "How can i show individual tag id from tags array" ["message"]=> string(37) "dssdf sdf df sd sdfsd a sf sdfsdfs fd" ["submit"]=> string(0) "" }
You mean that if you do an var_dump here? You have your data?
PHP Code: $data['name'] = $this->input->post('name', true); If so, it's your insert model. Not the validation as you said earlier. |
Welcome Guest, Not a member yet? Register Sign In |