# Urgent help please regarding asp

**URL:** <https://forum.kirupa.com/t/urgent-help-please-regarding-asp/39179>\
**Category:** Uncategorized\
**Created:** [January 4, 2004, 4:10pm UTC](https://forum.kirupa.com/t/urgent-help-please-regarding-asp/39179 "2004-01-04T16:10:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![trevorsaint](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/trevorsaint/32/268_2.png) [@trevorsaint](https://forum.kirupa.com/u/trevorsaint)\
**Post date:** [January 4, 2004, 4:10pm UTC](https://forum.kirupa.com/t/urgent-help-please-regarding-asp/39179/1 "2004-01-04T16:10:28Z")

</div>

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
