MY_set_value - 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: MY_set_value (/showthread.php?tid=38565) |
MY_set_value - El Forum - 02-11-2011 [eluser]valuk[/eluser] Hi, guys I am writing my own function for set_value. But I can't figure out why should I look in validation class for function set_value. Isn't value from validation class and from POST the same? Thanks Code: * Grabs a value from the POST array for the specified field so you can MY_set_value - El Forum - 02-11-2011 [eluser]ChrisMiller[/eluser] The values will not be the same if you Prep the Refrence in the Form Vailidation Class read: http://ellislab.com/codeigniter/user-guide/libraries/form_validation.html#preppingreference Hope that helps you out, - Enjoy |