The issue would be that you're using double quotes around your second parameter. PHP is trying to replace $H, $C and $N with actual variables.
Try using single quotes and escaping the existing single quotes within the string.
Here are the docs on how PHP parses double quoted strings which might help.