From Zed Shaws Learn C the hard way, ex17. Database stuff