Subversion Repositories phpLibraryV2

Rev

Rev 37 | Rev 39 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 37 Rev 38
Line 239... Line 239...
239
                     $this->parameters[ 'fetchType' ] =  MYSQLI_BOTH;
239
                     $this->parameters[ 'fetchType' ] =  MYSQLI_BOTH;
240
                     $this->parameters['returnType'] = 'both';
240
                     $this->parameters['returnType'] = 'both';
241
                  }
241
                  }
242
                  // slurp all the stuff in
242
                  // slurp all the stuff in
243
                  while ( $values =  $sth->fetch_array( $this->parameters[ 'fetchType' ] ) ) {
243
                  while ( $values =  $sth->fetch_array( $this->parameters[ 'fetchType' ] ) ) {
244
                     $this->parameters[ 'returnData' ][] = $values;
244
                     $this->parameters['returnData'][] = $values;
245
                  }
245
                  }
246
                  $sth->free(); // cleanup memory, don't need two copies
246
                  $sth->free(); // cleanup memory, don't need two copies
247
               } // if we had no errors
247
               } // if we had no errors
248
            }
248
            }
249
            $this->parameters[ 'rowsAffected' ] = count( $this->parameters[ 'returnData' ] );
249
            $this->parameters[ 'rowsAffected' ] = count( $this->parameters[ 'returnData' ] );