![]() |
[SOLVED] write_file help codeigniter - 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: [SOLVED] write_file help codeigniter (/showthread.php?tid=60849) |
[SOLVED] write_file help codeigniter - El Forum - 07-11-2014 [eluser]riwakawd[/eluser] I am trying to write a and ad my post function but not working it is not posting the username but re posting $db['default']['username'] = $db['default']['password'] = ''; It should post the username. On my controller Code: public function index() { View Code: <?php echo form_open();?> [SOLVED] write_file help codeigniter - El Forum - 07-11-2014 [eluser]riwakawd[/eluser] I think I have got it worked out now seems to post fine now since done this. Code: $output .= '$db' . "['default']['username'] = '" . $this->input->post('db_username'). "' ; \n"; |