This is weird, in CI3 when I check the output of this array, :
PHP Code:
$biz=$this->get_form_data();
var_dump('$biz');
array(28) { ["city_id"]=> string(1) "3"
["district_id"]=> string(2) "24"
["addrs1"]=> string(13) "2646 Gand Ave"
["zipcode"]=> string(5) "15400"
["catid_1"]=> string(2) "50"
["catid_2"]=> string(2) "56"
["price"]=> string(0) ""
["tel"]=> string(0) ""
["title"]=> string(10)
"Test title" ["about"]=> string(20) "This is just testing"
["fuel"]=> NULL ["kilo"]=> NULL ["carburant"]=> NULL
/
But with CI 2.2.1 this part is different
PHP Code:
["fuel"]=> NULL ["kilo"]=> NULL ["carburant"]=> NULL
Here is a full output,
PHP Code:
array(28) { ["city_id"]=> string(1) "3"
["district_id"]=> string(2) "24"
["title"]=> string(10) "Test title"
["addrs1"]=> string(13) "2646 Gand Ave"
["zipcode"]=> string(5) "15400"
["catid_1"]=> string(2) "50"
["catid_2"]=> string(2) "56"
["fuel"]=> bool(false) ["kilo"]=> bool(false) ["carburant"]=> bool(false)
// So on
CI 2.2.1
PHP Code:
["fuel"]=> bool(false) ["kilo"]=> bool(false) ["carburant"]=> bool(false)
CI3
PHP Code:
["fuel"]=> NULL ["kilo"]=> NULL ["carburant"]=> NULL
Is this related to CI3 database changes?