How to put variable in json url?


Tried a lot of combinaison but nothing works. Thanks a lot for your help!

$  json = file_get_contents("http://www.theaudiodb.com/api/v1/json/58424d43204d6564696120/search.php?s=$  artist");