Hi,
I am using ChronoForms (and an SSL cert) to receive donations for my organisation.
However, when the forms are filled in and I am reviewing the records, the credit card number always shows up incorrectly as 2147483647, no matter what number is typed in.
I am not sure why this is happening and need some help!
Thanks,
Jayson
I am using ChronoForms (and an SSL cert) to receive donations for my organisation.
However, when the forms are filled in and I am reviewing the records, the credit card number always shows up incorrectly as 2147483647, no matter what number is typed in.
I am not sure why this is happening and need some help!
Thanks,
Jayson
Hi Jayson,
The same number "2147483647" all the time ? are you sure ? other fields data change but only this one ?
The same number "2147483647" all the time ? are you sure ? other fields data change but only this one ?
Hi jursulak,
Just Googled '2147483647' and it's the maximum integer that PHP can handle so I guess that you have an integer type set for this field in the database. Try changing the field type for this field - maybe make it a string and see if that works.
Later, no it can't be a database problem, it's a PHP issue not a MySQL one . . . are you validating the field??
Bob<br><br>Post edited by: GreyHead, at: 2007/08/24 12:21
Just Googled '2147483647' and it's the maximum integer that PHP can handle so I guess that you have an integer type set for this field in the database. Try changing the field type for this field - maybe make it a string and see if that works.
Later, no it can't be a database problem, it's a PHP issue not a MySQL one . . . are you validating the field??
Bob<br><br>Post edited by: GreyHead, at: 2007/08/24 12:21
This topic is locked and no more replies can be posted.