Ok I have a simple database which contains two id values of information.
I have created a one table and two buttons now what I am aiming for is when you click on a button it inserts database content id=1 or if you click the second button it inserts id=2, I managed to get it to do a next and prev, but this is not ideal if I have a few different buttons it will mess up.
everything is set up and ready to go I just need some code to change the content of table depending upon which button i click, can anyone help me here