Welcome Guest, Not a member yet? Register   Sign In
Keeping the 0 in database input?
#3

[eluser]AgentPhoenix[/eluser]
There is a "feature" in MySQL where, no matter if it's text or not, it'll truncate leading zeros. I ran in to that problem myself. MySQL recommends using zerofill, but what they don't tell you is that in some versions of MySQL, you can't set that attribute on integer fields. Fantastic, huh?


Messages In This Thread
Keeping the 0 in database input? - by El Forum - 06-17-2008, 05:10 AM
Keeping the 0 in database input? - by El Forum - 06-17-2008, 06:00 AM
Keeping the 0 in database input? - by El Forum - 06-17-2008, 06:11 AM
Keeping the 0 in database input? - by El Forum - 06-17-2008, 06:17 AM
Keeping the 0 in database input? - by El Forum - 06-17-2008, 07:34 AM



Theme © iAndrew 2016 - Forum software by © MyBB