changed order to match the insert statement
Merge pull request #6 from chid/master

Allows all links (video rips) to work on main page ("rip album")
Merge pull request #8 from chid/mysql

Mysql from chid
fixing api queries and some DB stuff
don't write vulnerable code!