I have a variable say, $CODE, and I want to include it into another variable which is actually an URL like: http://www.knmi.nl/klimatologie/uurgegevens/datafiles/275/uurgeg_275_2011-2020.zip so that would be:
$URL = "http://www.knmi.nl/klimatologie/uurgegevens/datafiles/275/uurgeg_275_2011-2020.zip"
I want to include $CODE variable into $URL instead of number "275" so that would be:
$URL = "http://www.knmi.nl/klimatologie/uurgegevens/datafiles/$CODE/uurgeg_$CODE_2011-2020.zip"
but the problem is the 2nd $CODE inclusion because of next underline ($CODE_) to it, and when I include quotations like '$CODE', the actual quotations will appear in the $URL variable so if the $CODE variable equals to number 275 it will be like:
$URL = "http://www.knmi.nl/klimatologie/uurgegevens/datafiles/'275'/uurgeg_'275'_2011-2020.zip"
which is not valid. could you tell me what is the problem?