Strip out special characters in php -


मेरे पास निम्न कोड है:

  & lt;? Php echo $ fields- & gt; प्रश्न; ? & Gt;   

मैं विशेष रूप से किसी विशेष वर्ण को पट्टी करना चाहता हूं जो php के साथ समस्या पैदा कर सकता है, मैं यह कैसे कर सकता हूं? विशेष रूप से "" मुझे इस समय एक समस्या पैदा हो रही है।

  & lt; php गूंज htmlentities ($ फ़ील्ड्स- & gt; प्रश्न, ENT_QUOTES, "UTF-8")? & Gt;    

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

javascript - What is an alternative to using getElementByClass for hiding multiple elements? -

c - Selecting a file randomly from a file system -