Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
How to list data,data separated by "|"
1.AJAX Request url (tag="ReadData")
2.AJAX on "ReadData" completed
3.TextBox set text to AJAX.LastData
Can appear 10|20|30|
How to make him
10
20
30
You can do like this:
REPEAT tokencount(AJAX.LastData, "|") => Text Append text: tokenat(AJAX.LastData, loopindex, "|") & newline & newline
Thanks for your teaching
I do it this way
This is I do after the this
The contents of the PHP file
header("Access-Control-Allow-Origin: *"); echo "10|20|30|";
Still something wrong, how to deal with it?
thank
Develop games in your browser. Powerful, performant & highly capable.
Put the REPEAT as sub-event of On load completed AJAX.
Set your text to "" before Append new text.
is ok
thx. ^^