changed to mysql_ calls from mysqli_.

changed to mysql_ calls from mysqli_. This seems to be working fine on
Heroku.