added check if insert string is empty

Prevents this:
$database->insert("table", array("a"=>"sting", "b"=>123, "c"=>""));
INSERT INTO `table` (`a`, `b`, `c`) VALUES ('sting', '123', )