Move MySQL configuration to a separate file
Remove PHP closing tags - these can cause issues with headers
Add sample MySQL config file
Use PDO instead of mysql_
Refer to the class and not to 'self' for readability
Handle non-existent server for heartbeat updates
Fix grammar
Get rid of useless comments - comments should explain things that the code doesn't or can't
Formatting and readability fixes
Clean up and reformat code, and get rid of trailing whitespace checks
Merge branch 'fix'
Merge pull request #2 from joepie91/master

Fixes for the code as promised