Tutorial Get All-Time Number of MySQL Queries
$handle=@mysql_connect("localhost","root",""); if (!$handle) { die("N...
https://iskablogs.blogspot.com/2014/03/tutorial-get-all-time-number-of-mysql.html
$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()
{
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()
{