I have an interface where the user is selecting options from a few menus to obtain Excel charts based on their selections. The data which creates these charts is held in a MySql database and what I want to do is that whenever the user selects the menu options they will instantiate a query which will return a result from the Database that will be used for converting into an Excel chart. Do you know how I would do this?