We're drifting off-topic here, but I think you can escape the $ in interpreted strings:
"This is some text with a php $var and some text with a dollar sign \ $epc in it" On Apr 5, 4:02 pm, John H <realistinden...@gmail.com> wrote: > > Although not jquery related - I would suggest always using php > > variables outsite a string and use single quotes. > > It enables proper syntax highlighting in editors and makes the code > > easier to read for you and any future developers. > > I completely agree about concatenating variables in php strings. > > However this particular issue was php interpreting a javascript > variable beginning with $ included in an inline string.