How to get data and show to label

i am learn from App Inventor Tutorials and Examples: MySQL | Pura Vida Apps
and i have question, how to display when i get string from php or html
thanks for help

my html :

<html>
<head>
</head>
<body>
1 <br>
breaking news <br>
Today there was a fire in one of the houses...<br>
</body>
</html>

My example html :
id
title → show to label 1
Description → show to label 2

output :
1
breaking news
Today there was a fire in one of the houses…

code wrong2

i am sorry my english rip…hope understand thanks alot all

The number in your example is a number and not a list… therefore your 2 select list item blocks do not work…

Use a for each item in list loop…
The item in this case will be a sublist
Taifun

how to convert it in block form, can you give me an example?
thanks for help taifun

HTML Code

<html>
<head>
</head>
<body>
1 <br>
breaking news <br>
Today there was a fire in one of the houses...<br>
</body>
</html>

i get error too
The operation select list item cannot accept the arguments: , [1], [2]
Note: You will not see another error reported for 5 seconds.

Taifun

I’m stuck taifun, maybe there is no way, anyways thanks

You forgot to provide an updated screenshot of your relevant blocks

Taifun

with json?

I’ve tried via listview and it works, it just requires an operation between title and description

both always appear on one label

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.