is there any way to get the id you are going to insert the data in before you post the data, like get the last id and do a +1 to it or something pleaseee?
odysea
0
Newbie Poster
Recommended Answers
Jump to Postselect max(id) from table will give you the max id used.
Be careful, you can't rely on this being the id that will actually be used.
All 3 Replies
pritaeas
2,194
¯\_(ツ)_/¯
Moderator
Featured Poster
somedude3488
228
Nearly a Posting Virtuoso
odysea
0
Newbie 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.