Added MySQLi and HTML edit to events.php