mATOK Posted October 11, 2006 Share Posted October 11, 2006 hey thereI grab input from a form<tr><th>Phone</th><td><input type="text" name="phone" size="10" /></td></tr>and I store it in a db - telnum INT -but when I retreive the info it's all jumbled and aren't even the numbers I am keying ine.g. 1234567891 returns 1234567891 but 4164882073 returns 2147483647any idea as to what could cause this? Quote Link to comment Share on other sites More sharing options...
kenrbnsn Posted October 11, 2006 Share Posted October 11, 2006 The number 2147483647 is the largest number that can be stored in a 32 byte integer. Change the field type to varchar(10).Ken Quote Link to comment Share on other sites More sharing options...
mATOK Posted October 11, 2006 Author Share Posted October 11, 2006 Thanx! I changed to a double :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.