Basic PHP MySQL Class