protected function valueLists( $rows, $columns ) {

        $lists = array();

        foreach ( $rows as $row ) {

            $values = array();

            foreach ( $columns as $column ) {

                $values[] = $this->quote( @$row[ $column ] );

            }

            $lists[] = "( " . implode( ", ", $values ) . " )";

        }

        return $lists;

    }
protected function valueLists( $rows, $columns ) {

        $lists = array();

        foreach ( $rows as $row ) {

            $values = array();

            foreach ( $columns as $column ) {

                $values[] = $this->quote( @$row[ $column ] );

            }

            $lists[] = "( " . implode( ", ", $values ) . " )";

        }

        return $lists;

    }
protected function valueLists ( $ rows , $ columns ) { $ lists = array ( ) ; foreach ( $ rows as $ row ) { $ values = array ( ) ; foreach ( $ columns as $ column ) { $ values [ ] = $ this -> quote ( @ $ row [ $ column ] ) ; } $ lists [ ] = "( " . implode ( ", " , $ values ) . " )" ; } return $ lists ; }
Build lists of quoted values for INSERT

@param array $rows
@param array $columns
@return array
Build lists of quoted values for INSERT