[Solved] Post data NULL - Have no idea why - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: [Solved] Post data NULL - Have no idea why (/showthread.php?tid=76833) |
[Solved] Post data NULL - Have no idea why - Mark Morcom - 06-25-2020 Hi, I am working on an application for Social Workers in a Non-Profit. I am fairly new to Codeigniter, but have written apps previously. I am starting to think that I have an install problem with this app and would like your help. My View PHP Code: <div class="row"> My Model PHP Code: <?php My Controller PHP Code: public function human_form_add_val() When I submit the form, all post data is NULL as detailed below: INSERT INTO `client` (`fname`, `mnames`, `lname`, `id_num`, `address`, `gps_loc`, `t_num`, `contact_name`) VALUES (NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL) What am I doing wrong? RE: Post data NULL - Have no idea why - jreklund - 06-25-2020 This have been solved in CodeIgniter Slack channel. Missing name="" fields on all input fields. |