Facebook Full Name

Hi, i’m new to yii. i retrived my facebook first name and last name but i need to insert like this…

          name=firstname + lastname.

how to get like this.

in my controller having like this…

                $model->first_name = ($user['first_name']?$user['first_name']:'');

                $model->last_name = ($user['last_name']?$user['last_name']:'');

how to add


i'm saving to my database as firstname and lastname. instead of first&last name i need to add name.