how do I convert & to & in my output like
$var = ding & dong; print $var; (would produce ding & dong when I view the source)
Thanks...
You might want to use the htmlentities() or htmlspecialchars() functions. If all you're worried about are ampersands,then you could use str_replace() or preg_replace().