According to the PEAR MDB2 documentation, I can optionally quote or not quote values using the third parameter:
$mdb2->quote($val1, "text", true) $mdb2->quote($val2, "integer", false)
Is there a way to enable conversion of blank values to NULL? Ie, if $val1 were empty or actually null, it would appear as NULL in the insert/update statement (instead of '').