RE: INSERT/UPDATE number weirdness

2003-09-20 Thread James Johnson
Hi Matt, Thanks. That did the trick. James -Original Message- From: Matt W [mailto:[EMAIL PROTECTED] Sent: Friday, September 19, 2003 11:34 PM To: [EMAIL PROTECTED] Subject: Re: INSERT/UPDATE number weirdness Hi James, Well if you used [VAR]CHAR/TEXT and then did the INSERT query

Re: INSERT/UPDATE number weirdness

2003-09-19 Thread Matt W
quot; Hope that helps. Matt - Original Message - From: "James Johnson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, September 20, 2003 1:11 AM Subject: INSERT/UPDATE number weirdness > Hi, > > This is bugging me > > Using PHP/MySQL. >

INSERT/UPDATE number weirdness

2003-09-19 Thread James Johnson
Hi, This is bugging me Using PHP/MySQL. I have three input fields to hold a user's phone number. The MySQL fields are set to SMALLINT. If any of the strings to update the DB starts with a 0 (zero), the first number is truncated (0206 becomes 206). Any other combination where the first digit