Howdy, I have a blog and on the blog all H1s are forced-lowercase with CSS. But there's some words like "God" and "Jesus" that really look disrespectful if they are lowercase. So I was wondering if there was some type of PHP script that will look for certain words and apply a <span> to those words. So is this possible to make...or would something like JavaScript work better? Thanks!!
G
you could use str_replace $words = array("god", "jesus"); $newwords = array("<span>God</span", "<span>Jesus</span") $blogentry = str_replace($words, $newwords, $blogentry);
Would that be automatically replacing? If so, where do I put the text to be auto-replaced? Thanks!