All fixed now, in case anyone else has experienced this problem all you need to do is add the htmlspecialchars function to teh code.
All fixed now, in case anyone else has experienced this problem all you need to do is add the htmlspecialchars function to teh code.