Some MySQL stuff and more Javascript
MySQL stuff