I want to add a button to the last table entry that my while loop pulls out?

What code can i use to do this?

thanks in advance