When i select multiple checkbox, i get the values something like this....
9,[email protected],1,9,[email protected],2,2,[email protected],3,2,[email protected],4
Now i need to delete all of them, so i need to pass their user ID alone to query. For this i need to split the string and pass their multiple ID's alone to query.
$var1 = $theArrayValue;
$chan= explode(',', $var1);
return $chan;
$theArrayValue holds all these info below.
9,[email protected],1,9,[email protected],2,2,[email protected],3,2,[email protected],4
I need to delete multiple items selected.