Hi,
in my table I have id, firstname, lastname rows. but i need to store both first & last name into name field. pls help me.
I written in model like this..
public function getFullName() {
return $this->first_name . ' ' . $this->last_name;
}
in my table I have id, firstname, lastname rows. but i need to store both first & last name into name field. pls help me.
I written in model like this..
public function getFullName() {
return $this->first_name . ' ' . $this->last_name;
}