cambia i ; in virgole ed usa IN()

where id IN($var);