Country helper problem - 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: Country helper problem (/showthread.php?tid=46784) |
Country helper problem - El Forum - 11-15-2011 [eluser]Gukkie[/eluser] Hi all, i created my own helper which gets the country list from the database, the thing is everything works fine except that when i post the form and if errors are encountered, the country field does not hold its value, this is my helper code: Code: <?php if (!defined('BASEPATH')) exit('No direct script access allowed'); HTML: country_dropdown('country', $this->input->post('country'), ''); Any ideas? |