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! 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 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. Link to comment https://forums.phpfreaks.com/topic/242812-login-name/#findComment-1247313 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.