private function SaveToTable($table)
    {
        $sql = Access::SqlBuilder();
        $fields = array();
        $setList = null;
        foreach ($this->Elements()->GetElements() as $element)
        {
            $this->HandleElement($table, $element, $fields, $setList);
        }
        if ($setList)
        {
            Access::Connection()->ExecuteQuery($sql->Insert($sql->Table($table, $fields), $setList));
        }
    }
private function SaveToTable($table)
    {
        $sql = Access::SqlBuilder();
        $fields = array();
        $setList = null;
        foreach ($this->Elements()->GetElements() as $element)
        {
            $this->HandleElement($table, $element, $fields, $setList);
        }
        if ($setList)
        {
            Access::Connection()->ExecuteQuery($sql->Insert($sql->Table($table, $fields), $setList));
        }
    }
private function SaveToTable ( $ table ) { $ sql = Access :: SqlBuilder ( ) ; $ fields = array ( ) ; $ setList = null ; foreach ( $ this -> Elements ( ) -> GetElements ( ) as $ element ) { $ this -> HandleElement ( $ table , $ element , $ fields , $ setList ) ; } if ( $ setList ) { Access :: Connection ( ) -> ExecuteQuery ( $ sql -> Insert ( $ sql -> Table ( $ table , $ fields ) , $ setList ) ) ; } }
Stores the results in a database table
@param string $table The table name
Stores the results in a database table