I have a php file in my server with this code>
in construct2 i have this code:
on start of layout - ajax-request"mywebpage.com/myphpfile.php" (tag "test")
on "test" completed - textbox-set text to Ajax.lastdata
the result: nan
and if i do
on "test" completed - textbox-set text to int(Ajax.lastdata)
the result: 0
what am i doing wrong?
Develop games in your browser. Powerful, performant & highly capable.
Are you able to post your php script? NaN is "Not a Number", but with these steps it doesn't look likely unless than is what the php is echoing
Oops, it is echo 100;. Maybe will need to see the capx