private function search_term($table, $colname, $term){
    $searchio   = $this->readdb( $table, $colname );

    $returnrows = array();

        foreach( $searchio as $drowname=>$drowval ){

            if( empty($term) || count($term)<1 ){continue;}

        $termcounter = $this->matches($drowval, $term);

            if( $termcounter>0 ){
            $returnrows[$drowname] = $termcounter;
            }
        }

    return $returnrows;
    }