PHP problem with SQL INT

Asked

Viewed 30 times

3

I’m making a form sending the data by AJAX and then insert, so far so good. Only the maximum value of the INT in SQL is 2147483647, and the field I have has at most 11 digits that can go up to 99999999, what is the best option to get around this problem? change to VARCHAR?

  • long won’t do?

  • 2

    See if that one question of help.

1 answer

3


You can use the data type BIGINT.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.