file get contents – file_get_contents PHP

In the case that it is a problem,
I want to make a file_get_contents that way:

$ string = file_get_contents (& # 39; site.com / & # 39; $ VARIABLE);

in which it is "variable", it is an already defined one that I have, but it is giving a red line in my code, someone help me!