How to insert and add php code and html javascript code and display code text area tag

Description

How to insert and add php code and html javascript code through text area tag in php. no any script execute

This function convert the special code and then insert the database

Main use for this function is no any script execute when we enter the any script

through text area tag and any editor

Use the  

mysql_real_escape_string ()

Use of mysql_real_escape_string () function :

This function convert the special code and then insert the database

Main use for this function is no any script execute when we enter the any script

through text area tag and any editor