Welcome Guest, Not a member yet? Register   Sign In
Confusion with MVC in CI
#9

[eluser]ChaosKnight[/eluser]
Mmm.. It outputs:
Code:
stdClass Object
(
    [country_id] => zambia
)
It should also output:
Code:
[country] => Zambia
And for some reason it doesn't even mention all the other countries, there should be 11.

Edit:
Sorry, I didn't put the print_r inside the foreach. It displays all the other now, but the 'country' element in the array is still missing...


Messages In This Thread
Confusion with MVC in CI - by El Forum - 06-16-2010, 07:05 AM
Confusion with MVC in CI - by El Forum - 06-16-2010, 07:26 AM
Confusion with MVC in CI - by El Forum - 06-16-2010, 07:40 AM
Confusion with MVC in CI - by El Forum - 06-16-2010, 07:45 AM
Confusion with MVC in CI - by El Forum - 06-16-2010, 07:57 AM
Confusion with MVC in CI - by El Forum - 06-16-2010, 07:59 AM
Confusion with MVC in CI - by El Forum - 06-16-2010, 08:09 AM
Confusion with MVC in CI - by El Forum - 06-16-2010, 08:48 AM
Confusion with MVC in CI - by El Forum - 06-16-2010, 09:01 AM
Confusion with MVC in CI - by El Forum - 06-16-2010, 09:18 AM
Confusion with MVC in CI - by El Forum - 06-16-2010, 09:23 AM
Confusion with MVC in CI - by El Forum - 06-16-2010, 09:28 AM
Confusion with MVC in CI - by El Forum - 06-16-2010, 12:07 PM
Confusion with MVC in CI - by El Forum - 06-16-2010, 01:15 PM
Confusion with MVC in CI - by El Forum - 06-16-2010, 01:35 PM
Confusion with MVC in CI - by El Forum - 06-16-2010, 02:28 PM



Theme © iAndrew 2016 - Forum software by © MyBB