Quote:
|
Originally Posted by robot180
I thought about that problem that I just mentioned. Does anyone have an idea of how I could have the php convert any apostraphies into the code for an apostraphy? The text is inputed directly into the code and uploaded using ftp. Is there a way that when a page is downloaded, the php could first check for html entities and convert them into the code for the entity?
|
I'm not sure exactly how you want it applied, but
htmlspecialchars might help you.