Intendevo una cosa del genere
Codice PHP:
 public function select($tabella){ 
    
$this->tabella $tabella
     
$this->result = @mysql_query("SELECT * FROM ".$this->tabella); 
      
/*gestione errore*/ 
      
$this->errorQuery "ERRORE: La tabella cercata non esiste:[b]"mysql_error()."[/b]"
       if(!
$this->result){ 
           die(
$this->errorQuery);     
     } 
     
/*fine gestione errore*/ 
     
$rows= array();
     while(
$this->elementi mysql_fetch_array($this->result)){ 
         
$rows[] = $this->elementi
     } 
    if(
count($rows)==0){
        return 
null;
    }
        return 
$rows


Be i return true servono se
c'è il corrispettivo false
o altro cioè ti devono
dare la possibilità di
fare un controllo + a valle.

Aumenta l'astrazione: non restituire semplicemente il valore di ritorno delle funzioni mysq_*, restituisci true o false, etc. etc.
Segui il consiglio che ti è stato dato da filippo.toso