"Always remains me only" Going to need a translation sorry
Example when I click on the item that has aid=2 as its primary key,
it always returns the values associated with the item with primary key 1.
This is the problem. Thanks.
OK so what does your read data action look like for this view event?
You haven't put a where condition in there buddy. You haven't TOLD IT to get the specified id.
I set my condition in the link sinistro_aid={var:sinistri_list.row.Sinistro.aid}
that refers to the item's aid.
Example when I clicked on https://scuole.unimega.it/denunce?conn=lista_sinistri_admin&sinistro_aid=1&event=view
returned all the values associated with aid = 1
Example when I clicked on https://scuole.unimega.it/denunce?conn=lista_sinistri_admin&sinistro_aid=2&event=view
returned all the values associated with aid = 2
But this no longer works.
In your read data action that you posted, you don't actually have the WHERE CONDITION set. So the data is in your url under {data:sinistro_aid} but you haven't told your read data action to USE that value to get a specific result.
Thank you.
Now works.
It tricked me into the fact that strangely it worked before without inserting any conditions in db read.