|
I`ve never been clear on when, where or why to use echo html entities versus just a simple echo statement.
Could someone advise?
Does it mean for example that if I am echoing a block of text which contains quotation marks (ex. Elvis "The King" Presley) html entities will render the quotations in HTML friendly format? (ex. Elvis "The King" Presley)
??
I currently have a problem where I`m trying to do something like that.
I want to echo a text block into the title tag but HTML interprest the first quotation marks it encounters as the end of the title attribute.
Should I be using html entities for this?
thnks
|