MFB: Fixed output code inside odbc_result_all()

This commit is contained in:
Ilia Alshanetsky 2007-01-16 18:56:55 +00:00
parent 7511c4ac18
commit a7a9437199

View File

@ -1977,12 +1977,12 @@ PHP_FUNCTION(odbc_result_all)
RETURN_FALSE;
}
if (rc == SQL_SUCCESS_WITH_INFO)
php_printf(buf,result->longreadlen);
PHPWRITE(buf, result->longreadlen);
else if (result->values[i].vallen == SQL_NULL_DATA) {
php_printf("<td>NULL</td>");
break;
} else {
php_printf(buf, result->values[i].vallen);
PHPWRITE(buf, result->values[i].vallen);
}
php_printf("</td>");
break;