I'm trying to send data from a PHP script to a flash program. Flash "loads" variables and the only info I can find is how to send varibles to it via ASP.
And I quote:
<%
Dim sqlquery
Dim rst
Dim number
Dim return_string
strSQL = "SELECT DISTINCT callsign,score FROM lander_scores ORDER BY score DESC"
Set rst = Server.CreateObject("ADODB.Recordset")
rst.Open strSQL, conConnection, adOpenStatic, adLockReadOnly, adCmdText
number=1
do while not rst.eof And number<=20
if number=1 then
return_string = return_string & "pos"& number & "="& number &"&name"& number & "=" & rst("callsign") &"&score"& number & "=" &rst("score")
else
return_string = return_string & "&" & "pos"& number & "="& number &"&name"& number & "=" & rst("callsign") &"&score"& number & "=" &rst("score")
end if
rst.MoveNext
number = number + 1
loop
response.write(return_string)
%>
What would be the equivilent of response.write()?