model and database |
I gave you the answer, yet you didn't read it?
Look at what your form is posting: 1) pages_name 2) create_date 3) pages_order 4) pages_content You validate these fields, but then your insert attempts to use the wrong field names: 1) title 2) date 3) order 4) content Each of the calls to $this->input->post() are returning null, right?
Look at what your form is posting:
1) pages_name 2) create_date 3) pages_order 4) pages_content You validate these fields, but then your insert attempts to use the wrong field names: 1) title 2) date 3) order 4) content Each of the calls to $this->input->post() are returning null, right? I revise this out: Pages_model.php PHP Code: public function insert_pages() and in the database nothing stored. I wonder why?
" If I looks more intelligence please increase my reputation."
(06-14-2016, 12:58 AM)davy_yg Wrote: Look at what your form is posting:What is your form url??
Keep calm.
Still offline. Can you help me from the data that I have given to you?
" If I looks more intelligence please increase my reputation."
This is my weblink I already upload it. Can you help:
http://www.innovation.web.id/Profile/CompanyProfileCI/ Now I have a new error that I do not know how to fix it. Can anyone help me fix this prob so that I can store data in my database?
" If I looks more intelligence please increase my reputation."
Hello,
I add this to my codes: add_pages.php PHP Code: <form action="submitpages" method="post"> I wonder why it still cannot store data into my database?
" If I looks more intelligence please increase my reputation."
|
Welcome Guest, Not a member yet? Register Sign In |