TA的每日心情 | 开心 2014-12-26 13:34 |
---|
签到天数: 1 天 连续签到: 1 天 [LV.1]测试小兵
|
终于搞定了!
int i,j;
char *MyID[90],m[40];
for (i=10;i<100;i++) {
lr_save_int (i,"m");
web_submit_data(
"Value={m}");
}
web_reg_save_param("IDS",
"LB=value=\"",
"RB=\"",
"ORD=All",
LAST);
web_url("GetTree")
j=atoi(lr_eval_string ("{IDS_count}"));
lr_output_message ("j=%d",j);
if (j>90) { j=90;}
for (i=1;i<=j;i++) {
sprintf(m,"{IDS_%d}",i);
MyID[i-1]=lr_eval_string (m);
lr_output_message ("i=%d,j=%d,m=%s,MyID[%d]=,%s",i,j,m,i-1,MyID[i-1]);
}
for (i=0;i<j;i++) {
lr_save_string (MyID,"SubID");
lr_output_message ("SubID=%s",lr_eval_string ("{SubID}"));
web_submit_data(
"Value={SubID}");
} |
|