Hello I have following string in my variable
Hello@I am "good" too
I am using mysql_real_escape_string()
when i am saving to database
So in database value saved as follows
Hello@I am \"good\" too
Now when I fetch this value back from database to input field (for updation purchase) like below
<input type="text" name="field_name" value="<?php echo $edit_data['my_field'];?>">
it only shows Hello@I am \
What string escape function i should use?
I tried stripslashes()
but then it only shows Hello@I am