i am writing a program and i need to increment a table row. How would i increment a table row on the click of a button?
tcollins412 0 Junior Poster
Recommended Answers
Jump to PostIt depends on what you mean by increment the table row. If you are referring to incrementing it for insert then simply create the field as an auto-increment in MySQL and the database will auto-increment the field for you.
If you are simply trying to get to the next …
Jump to PostThe database row should be incremented automatically. If you set autoincrement to your primary key.
Is that what you're getting at? *confused.ardav*
All 7 Replies
rch1231 169 Posting Shark
tcollins412 0 Junior Poster
TySkby 41 Junior Poster
tcollins412 0 Junior Poster

diafol
azegurb 1 Posting Whiz in Training
tcollins412 0 Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.