Either should work.


PHP Code: 
echo $id;
echo 
"id: $id";
echo 
"id: ".$id
all correct