| 
<?php
error_reporting(E_ALL);
 
 require 'mysql_error_reporter.class.php';
 
 $run =  new MYSQL_CONN;
 $run->mysql_conn("localhost","root","","db_onidesk");
 $erro = $run->the_msg;
 if(sizeof($erro)<>0):
 echo "<script>alert('$erro')</script>";
 
 else :
 if(empty($erro)){
 echo "The class is running well :).Good for us !!!";
 }
 endif;
 ?>
 
 |