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? 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 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. 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
Archived
This topic is now archived and is closed to further replies.