CodeIgniter Forums

Full Version: one of my varibles isn't read as available in the view
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[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?

El Forum

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

El Forum

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

El Forum

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

El Forum

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

El Forum

[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

El Forum

[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();