I am trying to pass an array of values from php to mysql stored procedures as parameter list and how to use the array inside the stored procedure. The query in the procedure has three IN statements in in there so I would like to do `IN(@listOfids)` where @listOfids is 1,2,3,4 (an imploded array from php).