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
Its no different to any other variable, e.g.
function sendemail($id,$userid){ echo $arr["foo"]; } $arr = array("foo" => "bar"); sendemail($arr, $userid);