[FIX] SQLSRV affected_row() |
hi
today i was working on project that is based on SQLSRV database driver there is a little bug i have faced in affected_row() when it's excuted blank page return what ever you do and here is the fix open the file system\database\drivers\sqlsrv\sqlsrv_driver.php go to line 275 or search for : PHP Code: function affected_rows() PHP Code: return @sqlrv_rows_affected($this->conn_id); note sqlrv not sqlsrv and it's accept statement not connection so change it to PHP Code: return @sqlsrv_num_rows($this->result_id); that's all & it's worked for me |
Welcome Guest, Not a member yet? Register Sign In |