How to Use MySQL Database Query "in" Condition With a Variable Value

This might be of some help: