techker Posted January 27, 2015 Share Posted January 27, 2015 hey guys i have this invoice im working on but my clients want's the invoice id start at a specific number? do it put that number in phpmyadmin direct on the line null?or can i do it another way? Quote Link to comment https://forums.phpfreaks.com/topic/294260-auto-increment-start-from-a-specific-number/ Share on other sites More sharing options...
Barand Posted January 27, 2015 Share Posted January 27, 2015 (edited) You can use ALTER TABLE to change the auto inc value, or set it on creation of the table but easiest would be to add a dummy invoice with a value 1 less than the required start value - it can later be deleted. Edited January 27, 2015 by Barand Quote Link to comment https://forums.phpfreaks.com/topic/294260-auto-increment-start-from-a-specific-number/#findComment-1504332 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.