Insert and Retrieving table data with HTML tag. need help please

Hello,

I have a form where I want to insert string with HTML tag like <b>Hello</b> in my database table. and i want to retrieve this information as html tag works as bold like Hello. I have tried with just echoing but get the output as <b>Hello</b>.

Is there any php function or way that HTML tag will work when echoing database information. please help me. thanks.

You are likely encoding your tags when inserting into sql or when writing the output. If it is encoded in the database, you can use html_entity_decode