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
What should be clarified here.
Just pass the array when you call this function.
function sendemail($id,$userid){ Some Process.... } $id=array(1,2); sendmail($id,$userid);