Issue in saving contact number into database [duplicate]
This question already has an answer here: Incorrect Integer (2147483647) is inserted into MySQL? 7 answers I'm giving correct contact number in the form field but it gets saved into database in some random digits,Why so?.i'm not using any encryption method!
INT has a max value of 2147483647 (or 214-748-3647). So, 555-555-5555 will get rewritten to the max it can store. Phone numbers are NOT integers, so you shouldn't store them like that. All sorts of problems can happen - 055-555-5555 would be stored incorrectly as 55-555-5555, 555-555-5555 x1234 can't be entered, etc.
Cakephp 2.0, CPanel and Shell scripts
PUT request returns 406 (Not acceptable) coming from Backbone.js to my REST-ful PHP page
Unescaped dollar sign doesn't throw error; PHP processing edge case?
imagettftext() - Cannot find font location
Prevent duplicates in MYSQL database from uploaded CSV
PHP: curl writes to memory instead of giving a file stream
Escaping quotes - moving from PHP4 to PHP5
How can i store the values of array_count_values in array of object?
Symfony2 & Doctine2 : removeElement does'nt work
Replacing img tag with preg_replace and regular expressions
How to send email with PHP's mail() function
PHP Header Redirect Not working on site, have researched, still need assistance
Variable not working in PHP [closed]
how to ignore first loop and continue from second in foreach?
POST a SESSION variable on another page