src/ubdb.php
public function save(){

        foreach ($this->cols as $table => $prkey){

            foreach($prkey as $prkey_){

                if(strlen($prkey_)<3){continue;}

            $this->writedb($table, $prkey_);
            }
        //more table records
        $this->rows[$table]['index'] = $this->indexData[$table];

            try{
            $this->writedb($table, 'index');
            }
            catch(Exception $aa){
              return false;
            }

        }
    return true;
    }
public function save(){

        foreach ($this->cols as $table => $prkey){

            foreach($prkey as $prkey_){

                if(strlen($prkey_)<3){continue;}

            $this->writedb($table, $prkey_);
            }
        //more table records
        $this->rows[$table]['index'] = $this->indexData[$table];

            try{
            $this->writedb($table, 'index');
            }
            catch(Exception $aa){
              return false;
            }

        }
    return true;
    }
public function save ( ) { foreach ( $ this -> cols as $ table => $ prkey ) { foreach ( $ prkey as $ prkey_ ) { if ( strlen ( $ prkey_ ) < 3 ) { continue ; } $ this -> writedb ( $ table , $ prkey_ ) ; } //more table records $ this -> rows [ $ table ] [ 'index' ] = $ this -> indexData [ $ table ] ; try { $ this -> writedb ( $ table , 'index' ) ; } catch ( Exception $ aa ) { return false ; } } return true ; }
running one more time.
running one more time .