Normal, tu met
Code PHP :
<?php
$countQuery = 0;
Utilise plutôt ceci :
Code PHP :
<?php
function makeQuery($query)
{
$return = mysql_query($query) or die (mysql_error());
if (!isset($_SESSION['countQuery'])) {$_SESSION['countQuery']=0;}
$_SESSION['countQuery']++;
return $return;
}