dudejma Posted July 26, 2011 Share Posted July 26, 2011 Hey, I'm wondering how to get the auto_increment in this table to start from 001. The 0's in front are mandatory, does anyone know how? Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/242812-login-name/ Share on other sites More sharing options...
Muddy_Funster Posted July 26, 2011 Share Posted July 26, 2011 mandatory for what? set field to: int(3), ZEROFILL, UNSIGNED, AUTO INC Quote Link to comment https://forums.phpfreaks.com/topic/242812-login-name/#findComment-1247180 Share on other sites More sharing options...
fenway Posted July 26, 2011 Share Posted July 26, 2011 Yeah, but don't use ZEROFILL. If you want your output to be left-padding with 0's, php can help you. Don't corrupt your data. Quote Link to comment https://forums.phpfreaks.com/topic/242812-login-name/#findComment-1247313 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.