I have an array data called $req_dep. Here's what it look like when I var_dump() it.
array(2) { [0]=> int(41) [1]=> int(765) }
I want to use that data in query
  select * from dbo.RequisitionTable 
  where RequestorID = '$ID'
  and RequestorDepartmentID in ($req_dep)
  and IsProcessedToHire=0 
  and IsHold = 0
  and IsRejected = 0
But it always get error "Array to string conversion". How to use array in where condition like that?
Thank You