I want to create a function that returns string from array with comma. Before last items will have and not comma. As like I have this code...
$arr= array('arif', 'tanvir', 'sujon')
In case of one items arif or anything without comma.In case of two items, arif and tanvir or anything . In case of three items arif, sujan and tanvir.