ASP - Response.Write loop question

hello there,
I’ve been looking everywhere for a little help, I’m a flash guy who’s ventured off the path…
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!!!