in reply to DBI/MySQL system cutting off UPDATE values.
Do you really mean...
Enter (123) 456-7890, and it's (416) 456-78 that gets stored.
I assume that'a typo and it should be (123) not (416).
Sounds like you are somehow adding a bunch of leading spaces when using parens. How do you get your form data? Are you using the CGI.pm module or did you roll-your-own. I suspect the latter since I see a %form_values hash (but I could be wrong)
The phone number input to the form always shows up in the sql-statement.
Are you sure? Remember you cannot see leading spaces if you are printing the SQL to a webpage unless you check the source.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: DBI/MySQL system cutting off UPDATE values.
by punch_card_don (Curate) on Jan 31, 2008 at 23:08 UTC |