POST data missing - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: POST data missing (/showthread.php?tid=54386) |
POST data missing - El Forum - 09-06-2012 [eluser]chubbypama[/eluser] Hi there. I am trying to figure out why my data is not being posted. My controller cannot access it. I'm posting a simple example here... my real code is a lot more complex. BUt this little example doesn't work either. So I figure if I can get this working, the real code should work too. here's the view: Code: <?php echo 'in here'; ?> and in my controller : Code: public function test() I never get the 123 value ... Any suggestins? I know the hardcoding of the app path is bad. Just for demo purposes. Thanks. POST data missing - El Forum - 09-06-2012 [eluser]siptik[/eluser] does not work because there is no attribute "name"))) false: Code: <input type="text" id="newVlanID" value="123" /> Code: <input type="text" name="newVlanID" id="newVlanID" value="123" /> POST data missing - El Forum - 09-06-2012 [eluser]chubbypama[/eluser] [quote author="siptik" date="1346962131"]does not work because there is no attribute "name"))) false: Code: <input type="text" id="newVlanID" value="123" /> Code: <input type="text" name="newVlanID" id="newVlanID" value="123" /> [/quote] THANK YOU!!!!!!!!!!! POST data missing - El Forum - 09-06-2012 [eluser]siptik[/eluser] It's my pleasure :-) |