private function sqlsrv_fetch_id() {
        $query_id = sqlsrv_query($this->sqlsrv, 'SELECT SCOPE_IDENTITY()');
        if ($query_id === false) {
            $dberr = $this->get_last_error();
            return false;
        }
        $row = $this->sqlsrv_fetchrow($query_id);
        return (int)$row[0];
    }
private function sqlsrv_fetch_id() {
        $query_id = sqlsrv_query($this->sqlsrv, 'SELECT SCOPE_IDENTITY()');
        if ($query_id === false) {
            $dberr = $this->get_last_error();
            return false;
        }
        $row = $this->sqlsrv_fetchrow($query_id);
        return (int)$row[0];
    }
private function sqlsrv_fetch_id ( ) { $ query_id = sqlsrv_query ( $ this -> sqlsrv , 'SELECT SCOPE_IDENTITY()' ) ; if ( $ query_id === false ) { $ dberr = $ this -> get_last_error ( ) ; return false ; } $ row = $ this -> sqlsrv_fetchrow ( $ query_id ) ; return ( int ) $ row [ 0 ] ; }
Get the ID of the current action

@return mixed ID
Get the ID of the current action