protected function calculateINSERT()
    {
        $this->query .= 'INSERT INTO ';
        
        // Determine Table(s)
        $this->queryStringFromArray('tables', '', ', ');
        
        // SETs
        if (!empty($this->inserts)) {
            $this->query .= ' (';
            $this->queryStringFromArray('inserts', '', ', ');
            $this->query .= ')';
        }
        
        // Values
        $this->valueStringFromArray('values', ' VALUES ', ', ');
    }
protected function calculateINSERT()
    {
        $this->query .= 'INSERT INTO ';
        
        // Determine Table(s)
        $this->queryStringFromArray('tables', '', ', ');
        
        // SETs
        if (!empty($this->inserts)) {
            $this->query .= ' (';
            $this->queryStringFromArray('inserts', '', ', ');
            $this->query .= ')';
        }
        
        // Values
        $this->valueStringFromArray('values', ' VALUES ', ', ');
    }
protected function calculateINSERT ( ) { $ this -> query .= 'INSERT INTO ' ; // Determine Table(s) $ this -> queryStringFromArray ( 'tables' , '' , ', ' ) ; // SETs if ( ! empty ( $ this -> inserts ) ) { $ this -> query .= ' (' ; $ this -> queryStringFromArray ( 'inserts' , '' , ', ' ) ; $ this -> query .= ')' ; } // Values $ this -> valueStringFromArray ( 'values' , ' VALUES ' , ', ' ) ; }
Create an INSERT statement.
Create an INSERT statement .