How to insert data in database with ajax in cordova?
Insert data in database with ajax in cordova. Paste in function.php file function insert_cordova_message(){ if(function_exists(‘date_default_timezone_set’)) { date_default_timezone_set(“Asia/Kolkata”);} // then use the date functions, not the other way around$date =