Maybe you understand the difference between single-quotes and double-quotes but your code does not reflect that. If not, you need to read up on single and double quoted strings and how the quotes affect variable interpolation/expansion. -------------------------------------------------