I am trying to pass the app_id
and app_key
in the response string. I am setting those as constants and then passing them in the string. I am getting syntax error
Parse error: syntax error, unexpected ':'
What am i doing wrong? sorry I am pretty new to PHP
$app_id = 123456;
$app_key = '1234abcd5678';
$query_string = https://apiresponse.htm?app_id=$app_id&app_key=$app_key;
echo $query_string;