Welcome Guest, Not a member yet? Register   Sign In
problem with _POST array validation and repopulation, am i missing something or...?
#1

[eluser]smith[/eluser]
here is an example of my problem. it is attached, together with mysql test tables dumps.

http://rapidshare.com/files/62239050/test.rar.html

$this->validation->test_array is not visible to view when editing Sad
updated set_select is inside MY_Validation.php (updated set_select can work with _POST arrays)

form is populated when using insert (your_host/test_post/test_insert)
but form is NOT correctly populated when editing, even though all the variables exist inside a model

i am using print_r at the end of model script so that you can see that variables exist but inside view they are not visible. Please, if anyone wants to test, i will be very grateful...

Thank you

P.S. I was editing files from my existing project, so please excuse me for using too many view files...

and i am sorry for duplicating this post Sad




Theme © iAndrew 2016 - Forum software by © MyBB