I am using Hindi Font and storing into database. While inserting I use mysql_real_escape_string() function; its working fine on local but not on server.
showing on server Its adding extra slashes; but in local its showing correct
INSERT INTO tbl
(num
, address
, name
, father
, state
, city
, gender
, mobile
, namdan_date
, file
, mobile1
, english_name
, dob
) VALUES (5, '130] vkn\\'kZ dkWyksuh] nkmniqj', 'lqeu', 'Jh jktdqekj', 'Rajasthan', 'Alwar', 'Female', '', '2002-1-29', 'upload/', '371319&fu-', 'Suman', '1981--1');
Showing on local
INSERT INTO tbl
(num
, address
, name
, father
, state
, city
, gender
, mobile
, namdan_date
, file
, mobile1
, english_name
, dob
) VALUES (5, '130] vkn\'kZ dkWyksuh] nkmniqj', 'lqeu', 'Jh jktdqekj', 'Rajasthan', 'Alwar', 'Female', '', '2002-1-29', 'upload/', '371319&fu-', 'Suman', '1981--1');