Posted By

Monferno on 10/23/10


Tagged

mysql query counter


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

tux-world


Query Counter


 / Published in: PHP
 

  1.  
  2. $_SESSION['query_c'] = 0;
  3.  
  4. function query($query) {
  5. $_SESSION['query_c']++;
  6. return mysql_query($query) or die(mysql_error());
  7. }

Report this snippet  

You need to login to post a comment.