数组内容的参数化问题

int i;
static char *type[]={"A'","A"};
lr_save_string(type[i],"tmp");
 web_submit_data("inputactive.do_4",
  "Action=http://192.168.0.227:8080/dsaes/inputactive.do",
  "Method=POST",
  "RecContentType=text/html",
  "Referer=http://192.168.0.227:8080/dsaes/inputactive.do",
  "Snapshot=t16.inf",
  "Mode=HTML",
  ITEMDATA,
  "Name=actionMethod", "Value=singleInput", ENDITEM,
  "Name=schoolid", "Value=402880630808fc6c010808fd32300002", ENDITEM,
  "Name=schoolname", "Value=测试小学", ENDITEM,
  "Name=grade_hidden", "Value=2012001,1", ENDITEM,
  "Name=select_grade", "Value=2012001,1", ENDITEM,
  "Name=class_hidden", "Value=2012001,1,1", ENDITEM,
  "Name=select_class", "Value=2012001,1,1", ENDITEM,
  "Name=select_classall", "Value=2012001,1,1", ENDITEM,
  "Name=studentids", "Value=402880630808fc6c010808ffbc070009", ENDITEM,
  "Name=studentids", "Value=402880630808fc6c010808ffbc36000a", ENDITEM,
  "Name=checkbox", "Value=checkbox", ENDITEM,
  "Name=resunitid", "Value=402880630808fc6c010808fd323f0003", ENDITEM,
  "Name=resunitInputType", "Value=select", ENDITEM,
  "Name=resunitname", "Value=测试小学", ENDITEM,
  "Name=resunitnameInput", "Value=", ENDITEM,
  "Name=evaCritId", "Value={id}", ENDITEM,
  "Name=gradeSort", "Value={tmp}", ENDITEM,
  "Name=actionDate", "Value=2005-12-08", ENDITEM,
  "Name=actionDays", "Value=1", ENDITEM,
  "Name=actionTheme", "Value={bt}", ENDITEM,
  "Name=disp_grade_all", "Value=0", ENDITEM,
  "Name=disp_class_all", "Value=0", ENDITEM,
  EXTRARES,
  "Url=images/back.gif", ENDITEM,
  LAST);

你可能感兴趣的:(参数,数据,测试,职场,休闲)