PHP Using cURL and GET request in URL PHP Using cURL and GET request in URL curl curl

PHP Using cURL and GET request in URL


Please replace double quotes with single quotes in url,

$url = 'http://www.weather-forecast.com/locations/'.$city.'/forecasts/latest';