[eluser]shankar ganesh[/eluser]
Hi,
I stored the text 'sd\'sdf"sdf\"sadf in DB as
Code:
'sd'sdf"sdf"sadf
using the below php code
htmlentities(stripcslashes(trim($_POST['fuel_type'])), ENT_QUOTES);
When I retreive it and show it in textbox it displays only 'sd'sdf and not 'sd\'sdf"sdf\"sadf and the code is shown below
$fuel_type = html_entity_decode($result[0]['type']);
How to resolve this?