# ASP - Response.Write loop question

**URL:** <https://forum.kirupa.com/t/asp-response-write-loop-question/195796>\
**Category:** programming\
**Created:** [August 3, 2006, 6:17am UTC](https://forum.kirupa.com/t/asp-response-write-loop-question/195796 "2006-08-03T06:17:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![plu](https://avatars.discourse-cdn.com/v4/letter/p/e19b73/32.png) [@plu](https://forum.kirupa.com/u/plu)\
**Post date:** [August 3, 2006, 6:17am UTC](https://forum.kirupa.com/t/asp-response-write-loop-question/195796/1 "2006-08-03T06:17:09Z")

</div>

hello there,  
I’ve been looking everywhere for a little help, I’m a flash guy who’s ventured off the path… ![](http://forum.kirupa.com/uploads/kirupa/1105/8ed432c9025fd9ca.gif)  
anyway, I’m trying to get some data from an SQL database into flash. here’s the latest version of the ASP code I’ve come up with:

[COLOR=Navy]dim count  
count =0

Do while not rs.eof

```
Response.Write ("time" + count + "=" + L_location +"&")

count=count+1
rs.movenext

```

Loop

'not working  
'Response.Write (“count” + count)[/COLOR]

When I call this using getURL in flash I get a blank page, with no records.

If I remove the ‘count’ variable from the Response.Write string it outputs the information ok

any help would be great!  
…and apologies for the lack of knowledge here!!!
