Welcome Guest, Not a member yet? Register   Sign In
declaring class level variables in codeigniter
#2

[eluser]Seb[/eluser]
Well this has nothing to do with codeigniter, but it is just basic PHP coding: http://www.php.net/manual/en/language.oop5.basic.php

You should type :

Code:
foreach ($this->arr_CoreCountry as $key => $value)

instead of

Code:
foreach ($arr_CoreCountry as $key => $value)


Messages In This Thread
declaring class level variables in codeigniter - by El Forum - 07-19-2011, 05:01 AM
declaring class level variables in codeigniter - by El Forum - 07-19-2011, 06:00 AM
declaring class level variables in codeigniter - by El Forum - 07-19-2011, 06:15 AM
declaring class level variables in codeigniter - by El Forum - 07-19-2011, 06:44 AM



Theme © iAndrew 2016 - Forum software by © MyBB