Please fill in all fields"; } else { $findme = "The domain $string is still available"; $pos = strpos($site, $findme); if ($pos !== false) { $results = "$string is Available"; } else { $results = "$string is Not Available"; } } } ?>