Web_URL - How to substitute run time value

for (i = 1 ;i < Counts ; i   )
    {

        lr_start_transaction("01_SelectNicknames");

        web_reg_find("Text={MyNickname}",
            LAST);

      

        web_url("SummaryDetail.aspx",
            "URL=http://www.mysite/checkout/summaryDetail.aspx?AcctId= i",
            "Resource=0",
            "RecContentType=text/html",
            "Referer=www.mysite/checkout/checkout.aspx",
            "Snapshot=t5.inf",
            "Mode=HTML",
            LAST);
   
  lr_end_transaction("01_SelectNicknames",LR_AUTO); 
   
 }
   
   Expected result
   During Run time, the value of i in the URL paramater should be substituted with number in the for loop, so it should be something like this in the first run
   
   http://www.mysite/checkout/summaryDetail.aspx?AcctId= 1
   
   But I do not know how to ( syntax) substitite the value