Tutorial Get All-Time Number of MySQL Queries

$handle=@mysql_connect("localhost","root",""); if (!$handle) { die("N...

$handle=@mysql_connect("localhost","root","");

if (!$handle)
{
die("No connection to database");
}

echo 'Total number of all-time mysql-queries: '.getTotalNumberOfMySQLQuerys();


//Returns integer-value of the total number of alltime mysql-calls that have been made
function getTotalNumberOfMySQLQuerys()
{

Hot in Week

Popular

Archive

item