[eluser]Thiago Leao[/eluser]
[quote author="joedy" date="1286265933"]It means there is no object you want to get.
$query->result() is used to returns as an array of "objects".
so it shouldn't be like this $subcategoria[0]->id_sub,
its $subcategoria->id_sub
I suggest You to show the data return 1st before doing next process. You can use print_r($subcsategoria);[/quote]
Code:
Array ( [0] => stdClass Object ( [id_sub] => 16 [id_category] => 24 [id_user] => 1 [subcategoria] => testee ) ) 1
Looks print_r($subcategoria);
i wait help!
thanks friends!