Author Topic: Decode HTML entities from the Strings  (Read 5173 times)


  • Administrator
  • VIP Member
  • *****
  • Posts: 1826
  • I want to show my performance at any where
    • View Profile
    • Higher Education
Decode HTML entities from the Strings
« on: January 22, 2012, 07:43:44 AM »
Sometimes we need to decode HTML entities from any specific strings in PHP. Basically itís more used for retrieve HTML entities from a MySQL cell.? To Convert all HTML entities to their applicable characters there is one function available that is called html_entity_decode().



$orig?=?"I'll?\"love\"?the?girl very much";



echo?$a;?//?I'll?&quot;love&quot;?the?&lt;b&gt;girl&lt;/b&gt; very much

echo?$b;?//?I'll?"love"?the?girl very much?>
Acquire the knowledge and share the knowledge so that knowing,learning then sharing - all are the collection