Say i am fetching a single row by using
$row=$model_produc->fetchRow();
it contains category_id but not category_name, i will fetch category name from the category table.
My Question is that how can i add new attribute in $row say $row->category_name ????
Thanks in Advance.
You could create a new object, copying values from $row and adding your own.