Hi all,
I am creating a prototype site, using PHP/MySQL. It's almost finished, but I'm getting a funny output from MySQL. I insert a credit card number into the database, into a Credit_Card_Number INT(16) column. As I understand it, up to 16 digits can be inserted into this field.
I have run through a process of inserting many numbers into the field, and when I bring back all the numbers that are in that column for every record, any that are 11 digits long or over, always end up as the same number - 2147483647. Can someone tell me if I ahve done somethign wrong by setting up INT(16)?
Thank you
sipps
I am creating a prototype site, using PHP/MySQL. It's almost finished, but I'm getting a funny output from MySQL. I insert a credit card number into the database, into a Credit_Card_Number INT(16) column. As I understand it, up to 16 digits can be inserted into this field.
I have run through a process of inserting many numbers into the field, and when I bring back all the numbers that are in that column for every record, any that are 11 digits long or over, always end up as the same number - 2147483647. Can someone tell me if I ahve done somethign wrong by setting up INT(16)?
Thank you
sipps