renwoshin Posted January 7, 2006 Share Posted January 7, 2006 hi, I have an id column in my table that is auto-incremented. how do i find the next id number? The id is not necessarily the number of rows in the table, because some rows (usually a lot) have been deleted. sorry, wasn't paying attention: [a href=\"http://www.phpfreaks.com/forums/index.php?showtopic=82759&hl=\" target=\"_blank\"]http://www.phpfreaks.com/forums/index.php?...topic=82759&hl=[/a] Quote Link to comment https://forums.phpfreaks.com/topic/3160-find-the-next-id-number-thats-auto-incremented/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.