a basketball league in PHP and MySQL