Here is an example with single quotes. My name is $name. As you can see the variable is simply printed. This is because single quotation marks take what you input literally.
Here is an example with double quotes. My name is Ryan Siekert. As you can see the variable is called properly this time. This is because double quotations will read your text as code.