help me guys .. i want to know how to select the end of the data in my table..

Recommended Answers

are you trying to fetch the last record ?

Jump to Post

All 3 Replies

are you trying to fetch the last record ?

yes sir .. i want to select the last record so that i can get the id and edit it.. and display it to a textbox and become a value and then i will just add a number so i can have a new employee number/ do you get is

why need to go to the last record.

simply use max(id) + 1, to generate the new id.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.