How to get value of my php output and store it to my app varianle

how to get value of my php output and store it to my app variable

this is my php

http://gobarberrj.com/checkuserid.php?userid=1

the outpu is this :

{“idstatus”:1}

I want to store value “1” to text lable1

thanks

Hi and welcome to Thunkable!

This type of question has a straightforward answer and also a more complicated answer. The difference is based on whether your output will ever change from {“idstatus”:[#]} to something else. But assuming it won’t and assuming the numeric value is always a single digit, you can use this to parse out the numeric value:

1 Like