<?php error_reporting(0); require_once('connection.php'); mysql_select_db($db, $test); $query = "Select * from testtable"; $result = mysql_query($query, $test) or die(mysql_error()); $num_rows = mysql_num_rows($result); ?> and user get the error - "Table 'db.testtable' doesn't exist"
error_reporting
die(mysql_error())
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)