I am trying to save Mobile Number in MYSQL table with following Format "+1234987...."
but when i save data + sign is replaced with space, i am using following code
var mobile = $('#mobile').attr('value');
$.ajax({
type: "POST",
url: "save_process.php",
data: "mobile="+ escape(mobile) ,
//data: "mobile="+ mobile ,
success: function(html){
if (html==1){
$('div.saving').hide();
$('div.success').fadeIn();
}
i try both with escape() and also with out escape, same result.
how can i make it to save with + sign
Thanks