Loading .wav from a database

I have a button. So that if I click the button, the URL for the .wav file is loaded from the database but it’s not working.
However, what should I need to load the URL from the database?
Please give me a explain. I make it with Flash and PHP.

Thanks in advance for your answers.