I have the following network.request( “http://80.5.54.130/http3/unit2.php?a=6”, “GET”, getUser )
The direct link works fine.
The link querys a table and brings back a username.
I use:
local function getUser( event )
if ( event.isError ) then
print( “Network error!”)
else
myData = (event.response)
makeText.text = (event.response)
– print (“returned was”…event.response)
end
return true
end
When I use this in Coronas I get the error:
WARNING: Attempting to set property(text) with nil.
MakeText is null.???
Any ideas what is wrong please
Cheers
SteveW [import]uid: 4585 topic_id: 11686 reply_id: 311686[/import]