PHP: Get First & Last Name
This function was purposely used to get first and last name. The name was commonly used in malaysia.
Example:
1. "Sazarul Izam Bin Md. Saad" will return $mod[0] = "Sazarul Izam" and $mod[1] = "Md. Saad"
2. "Arumugam A/P Maniam" will return $mod[0] = "Arumugam" and $mod[1] = "Maniam"
Mood: ;))
Example:
1. "Sazarul Izam Bin Md. Saad" will return $mod[0] = "Sazarul Izam" and $mod[1] = "Md. Saad"
2. "Arumugam A/P Maniam" will return $mod[0] = "Arumugam" and $mod[1] = "Maniam"
Mood: ;))