Jump to content

2147483647


mcmuney

Recommended Posts

It's a input field for users to enter their phone number. Under what circumstances, would the number saved be 2147483647 if the user did not input this number? The field has a 10 character limit and does not accept blanks.

 

Yes, the field type happens to be "int(50)".

 

Any number HIGHER than "2,147,483,647" will cause the int 2,147,483,647 to be inserted. So.. 2147483648, 6184528348, 9683495836, or anything else will cause 2147483647 to be inserted. Change your data type from int(50) to something like long(15)

Link to comment
https://forums.phpfreaks.com/topic/201434-2147483647/#findComment-1056857
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.