Ok, probably quite a basic question, but here goes:
I'm creating a string that will hold the contents of an xml file that is being created dynamically.
here's an example:
$new_xml = "<?xml version='1.0'?>-<params>-<param><key>$clubName</key><textValue>" .$club_name;
Having looked at this, I've suddenly realised that the string part is still going to look for a variable becuase it has a leading $
How do I distinguish between the green highlight which is a pure string value that contains a $ and the red highlight which is actually calling a variable?
Thanks!