I have a variable define
$commsIP = ['192.168.1.1'];
I am trying to add it to a url
$commsDisplay = file_get_contents("http://www.dangergaming.com/comms/$commsIP");
but I get the following error
Notice: Array to string conversion
but if I put the link like so
$commsDisplay = file_get_contents("http://www.dangergaming.com/comms/192.168.1.1");
It displays fine.