PHP problem with SQL INT

3

I am making a form that sends the data by AJAX and then inserts, so far so good. Only the maximum value of INT in SQL is 2147483647, and the field I have has a maximum of 11 digits that can go up to 99999999999, what is the best option to work around this problem? change to VARCHAR ?

    
asked by anonymous 12.05.2016 / 12:28

1 answer

3

You can use the data type BIGINT .

    
12.05.2016 / 12:41