In side of a <% control %> I am displaying the languages my site is available in. I wanted to use the flags to represent the languages. I am doing this like so:
<img src="/imagepath/$image.png" />
The '.' interferes with the php variable and the browser sees the code as <img src="/imagepath/" />
the variable $image in this case returns the locales for the languages (i.e. en_US, pt_BR, etc.) so I cannot append .png to the value of variable as this variable is used for other things as well. How do I escape the '.' properly? I have tried $image\.png which ends up returning 'en_US\.png'
thanks in advance!