简单的FOR调图片问题?50分相送
为什么下面代码运行结果几张图片中间会有空格? 
 如:0   0   0   0   0 
 我要:00000这种样子.有什么办法吗?   
  <%for   i=1   to   len(rs4.recordcount+cstr(100000)) 
 	                  x=mid((rs4.recordcount+cstr(100000)),i,1)%>  
 		    <img   src= "img/counter/ <%=x%> .gif "   width= "10 "   height= "13 "/>  
 		    <%next 
 		   i=i+1%>
------解决方案--------------------可能是%>   <%之间的空格吧 
 这样写试试: 
  <% 
 for i=1 to len(rs4.recordcount+cstr(100000)) 
 x=mid((rs4.recordcount+cstr(100000)),i,1) 
 response.write  " <img src= " "img/counter/ "&x& ".gif " " width= " "10 " " height= " "13 " "/>  "&chr(13) 
 next 
 i=i+1 
 %>