Get the data with php and return it to kodular

this is my php code

I just want to get that respond/$count (number of that specific type of category) into kodular and make a chart. Below is my block

This is wrong method .

First fetch the data from php then use this chart with obtained result.

To call data from php, use query method , you will get result as list then put the value here also make sure the format of obtained result and the type of value to be insert in this chart block

1 Like

sorry but does that mean that, I manually insert the value after getting all the data? If so, how to make it automatically change > or < whenever I enter new item on the table?

Hi !
There are many topics about that subject…please , search here in community

19 days ago :