|
Posted by Pugi! on 09/14/07 10:50
I have a table with an ENUM row.
If I insert a new row (using PHP5, MySQL5 and PDO for database
connections) with a value that is not in the ENUM list, no error, no
warning, no exception ... The row is inserted but the field where
normally one of the values of the ENUM list should be is empty even if
it is NOT NULL.
How can I enforce the ENUM ?
Pugi!
Navigation:
[Reply to this message]
|