I have created a database with *.ram files and I would like to keep track of how many times (column with each song in the db) each one is played i planned on using php to do this somehow but im not sure how i can do this without re-loading the page or poping up a window which I would rather not do...

The way im looking at it is to call xxx.phtml?song_id=4 and xxx.phtml will add the stats to the db and call the *.ram file to stream but is this possible without reloading the page or opening a new page?

Any help would be appreciated