$query_industry="SELECT COUNT(`id`) FROM `tbl_industry` WHERE status='1'";
$resultlistq_industry=mysqli_query($con,$query_industry);
$rowlistdataq_industry = mysqli_fetch_array($resultlistq_industry);
$total_num=$rowlistdataq_industry['COUNT(`id`)'];
$total_ccopmany=ceil($total_num/4);
?>
-
Warning: Undefined variable $total_ccopmany in /home/nearlyplace/public_html/nearlyhub.com/jobs/jobs-by-industry.php on line 61
Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 in /home/nearlyplace/public_html/nearlyhub.com/jobs/jobs-by-industry.php:62
Stack trace:
#0 /home/nearlyplace/public_html/nearlyhub.com/jobs/jobs-by-industry.php(62): mysqli_query(Object(mysqli), 'SELECT * FROM `...')
#1 {main}
thrown in /home/nearlyplace/public_html/nearlyhub.com/jobs/jobs-by-industry.php on line 62