in reply to Insert a variable without quotes

Can you please elaborate on what you mean by "the code breaks down"? Maybe show the output when it works and when it doesn't.