public function writeQueryToLog() {
        $file = $this->logLocation.'queries.txt';
        $current = file_get_contents($file);
        $current .= "SQL: ".$this->sql.":".serialize($this->values)."\n";
        file_put_contents($file, $current);
    }
public function writeQueryToLog() {
        $file = $this->logLocation.'queries.txt';
        $current = file_get_contents($file);
        $current .= "SQL: ".$this->sql.":".serialize($this->values)."\n";
        file_put_contents($file, $current);
    }
public function writeQueryToLog ( ) { $ file = $ this -> logLocation . 'queries.txt' ; $ current = file_get_contents ( $ file ) ; $ current .= "SQL: " . $ this -> sql . ":" . serialize ( $ this -> values ) . "\n" ; file_put_contents ( $ file , $ current ) ; }
Writes all queries to a log file
Writes all queries to a log file