echo $this->my_password;
    }
    function get_my_db()
    {
        echo $this->my_db;
        //print "-- f**k it --";
        //return ($this->my_db);
        // return "petron_engine";
        //	return("keith");
    }
}
//----------------------------------------------------->
//----------------------------------------------------->
//----------------------------------------------------->
//object initialization
$petron_quaker_tool = new quaker_tool();
//$mydb =  $petron_quaker_tool->my_db();
sleep(3);
$petron_quaker_tool->get_my_db();
//print $mydb;
//connect to db
$mysqli = mysqli_connect("192.168.136.131", "root", "ph1shstix", "petron_engine");
//Evaluate the connection
if (mysqli_connect_errno()) {
    echo mysqli_connect_error();
    exit;
}
//----------------------------------------------------->
//----------------------------------------------------->
//----------------------------------------------------->
//test query-->
            $handle = fopen($filename, 'a') or die('Cannot open file:  ' . $filename);
            $data = '\\n Update process_tagging set status=The process was done';
            fwrite($handle, $data);
            $new_data = "\n" . "There was a problem:<br />{$query}<br />{$this->link->error}";
            fwrite($handle, $new_data);
            fclose($handle);
            //************************************
            //----LOG FILE------------------------->
            //---------------------------------------->
            echo "There was a problem:<br />{$query}<br />{$this->link->error}";
        }
    }
}
//object instance ------------------------------->
//$petron_quaker_tool = new quaker_tool("192.168.136.131","root","ph1shstix","petron_engine");
$petron_quaker_tool = new quaker_tool("192.168.1.25", "root", "", "petron_engine");
sleep(3);
$petron_quaker_tool->process_tagging_to_ongoing();
$petron_quaker_tool->reset_flt_account_detailed_txns_table();
$petron_quaker_tool->truncate_flt_account_detailed_txns();
$petron_quaker_tool->get_all_data_from_petron_web_service();
$petron_quaker_tool->insert_into_logs();
$petron_quaker_tool->initiate_all_dumping_table();
$petron_quaker_tool->consolidation_of_all_information();
$petron_quaker_tool->insert_ended_time_into_logs();
$petron_quaker_tool->process_tagging_was_done();
//----------------------------------------------------->
//----------------------------------------------------->
//----------------------------------------------------->
//print "\n counter: " . $this->counter;
//$this->counter