我通过json提交详细信息,包括名称,电子邮件,dob,日期,时间,移动设备,所有数据只存储在两个数据库中,而不是存储在日期和时间的数据库中
@覆盖 protected String doInBackground(String ... params){
try{
String urlParameters =
"name=" + URLEncoder.encode(name, "UTF-8")+
"&email="+URLEncoder.encode(email, "UTF-8")+
"&dob="+URLEncoder.encode(dob, "UTF-8")+
"&mob="+URLEncoder.encode(mob, "UTF-8")+
"&stylename="+URLEncoder.encode(style, "UTF-8")+
"&refralname="+URLEncoder.encode(refralname, "UTF-8")+
"&apdate"+URLEncoder.encode(apdate, "UTF-8")+
"&aptime"+URLEncoder.encode(aptime, "UTF-8");
result = Utilities.postParamsAndfindJSON("http://avninfosoft.com/agouwebs/register.php", urlParameters);
Log.d("success", "" + result);
}catch (Exception e)
{
}
return result;
}
.phpname = sadddd&安培;电子邮件= narsimha.bansode%40gmail.com&安培; DOB = 2017年5月4日&安培;暴民= 288888888888&安培;样式名= marleytwist&安培; refralname = SAM&安培; apdate2017-5-19&安培; aptime2%3A30PM