I have a function to send mail to users and I want to pass one of its parameter as an array of ids.
Is this possible to do? If yes, how can it be done?
Suppose w
function sendemail(Array $id,$userid){ // forces $id must be an array Some Process.... } $ids = array(121,122,123); sendmail($ids, $userId);