Tuesday, March 31, 2009

php $conn->free_result or $rs->close() ?

php $conn->free_result or $rs->close() ?


$conn->query(sql_rewrite_update('client_quotes', $stock_dataArr, $whereFieldArr));
if (!$rs) { die('Invalid query: ' . $conn->error); }
// if($rs) {
// $conn->free_result;
// }


如果是 query update or insert 這樣的動作,好像不會 return value?

No comments: