How can I place quote marks around a variable?

yes it appears that is what is happening.