I was wondering if anyone can enlighten me as to how I can set a value/id for a pushbutton? (a button would work if thats the way it needs to be done)
In my case, I am grabbing data from the database and doing a for loop for each set of data that I fetch.
I want to be able to add a button to the set of data while printing it from the for loop and when the user clicks on it, allow the user to edit the data. So far I haven't found a way to set a value/id for the button like one would do in plain html. If this is possible then I know what set of data I am working on by the ID of that button which is gathered from my initial database fetch.