You need to do append _raw to the template substitution and no escaping will happen. E.g. [itemname_raw] Steve >>> Julie <julieknoll at GMAIL.COM> 01/18/08 1:11 PM >>> Hi, I am using PHP mapscript and processTemplate() When one of the variable's contains html code it encodes the characters, how do I stop this? Julie