function addhttp($url) { if (!preg_match("~^(?:f|ht)tps?://~i", $url)) { $url = "https://" . $url; } return $url; }

MLB Team Pages