When I try and insert a string into an integer field, instead of throwing 
an error MySQL accepts the insert and set that field's value to zero (I 
assume default value).  I am using the php mysql module by the way (not 
PEAR).  I would like to get an error when I insert the wrong data type into 
a column.  Is this something I need to setup in MySQL or is the fault of 
the PHP MySQL module?

-Mike


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to