As Prefix In Clistview

I have two table in same colomn name

in grade has name colomn

location table also has name colomn

how do I print those two value using as prfix in clistview help me pls.

your problem definition is not clear pls post it clearly…

are these models. related? any relationship between two tables? if yes you can print it like this




//for normal model

echo $data->name;

//for related model

echo $data->relation->name;