CodeIgniter Forums
one of my varibles isn't read as available in the view - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forum-21.html)
+--- Thread: one of my varibles isn't read as available in the view (/thread-60188.html)



one of my varibles isn't read as available in the view - El Forum - 02-03-2014

[eluser]danogwok[/eluser]
I have many functions in my controller and each has variables. these variables have the same nae, but i have a problem with the variables in the second function not working. and yet the variables which actually do almost the same thing, work in the first fucntion. what might the problem be?


one of my varibles isn't read as available in the view - El Forum - 02-03-2014

[eluser]danogwok[/eluser]
any one who can help me?


one of my varibles isn't read as available in the view - El Forum - 02-03-2014

[eluser]Bart v B[/eluser]
Some code would be helpfull .
So we can see what the problem is.
Now we can just guess.


one of my varibles isn't read as available in the view - El Forum - 02-03-2014

[eluser]danogwok[/eluser]
I posted the code to http://pastebin.com/dNKUk1me ..my problem starts from the function load_borrower_form() ...


one of my varibles isn't read as available in the view - El Forum - 02-03-2014

[eluser]InsiteFX[/eluser]
What version of CodeIgniter are you using? The source code you posted is for a very old version of CodeIgniter.



one of my varibles isn't read as available in the view - El Forum - 02-03-2014

[eluser]danogwok[/eluser]
codeigniter 1.7.1 .. i was handed the project with everything setup. it had been partly worked on by a previous dev


one of my varibles isn't read as available in the view - El Forum - 02-04-2014

[eluser]InsiteFX[/eluser]
From the looks of it it needs to be converted to CI 1.7.1

Controller should be CI_Controller etc

__Constructor();