0

I have an array which contains integer values and I would like to do a select on my MySQL database that gives me the datasets that do include the values in that array

$array[0] = 1
$array[1] = 3
$array[2] = 9

And my SQL should be something like

Select * from table where value = Array

Does that work somehow?

Dharman
  • 30,962
  • 25
  • 85
  • 135
tpensel
  • 19
  • 6

0 Answers0