we declare the column as NOT NULL, so inserting NULL is not a good idea.

This commit is contained in:
Wez Furlong 2005-07-08 15:20:18 +00:00
parent eb7dc34bfb
commit 8e30a80733

View File

@ -122,7 +122,7 @@ foreach($objs as $idx => $obj)
}
else
{
$val = NULL;
$val = '';
}
$stmt->execute();
}