removed the debug lines

This commit is contained in:
Jenny Tam 2017-10-10 08:53:40 -07:00
parent 6eed2f8b5f
commit 8cd6d9182a

View file

@ -353,7 +353,6 @@ function insertRow($conn, $tbname, $inputs, &$r = null, $api = INSERT_QUERY)
} else {
// if AE is enabled, must bind param
$insertSql = getInsertSqlPlaceholders($tbname, $inputs);
echo $insertSql . "\n";
$params = array();
foreach ($inputs as $key => $input) {
if (is_object($input)) {
@ -363,8 +362,6 @@ function insertRow($conn, $tbname, $inputs, &$r = null, $api = INSERT_QUERY)
}
}
var_dump($params);
// use prepare for inserts when AE is enabled
$stmt = sqlsrv_prepare($conn, $insertSql, $params);
$r = sqlsrv_execute($stmt);