$sql1 = "SELECT * FROM product_cat WHERE parentid = -1 ORDER BY title ASC LIMIT 1";
if($qry1 = mysqli_query($DB->link_id, $sql1)){
if($arr1 = mysqli_fetch_array($qry1)){
?>
Warning: Undefined variable $arr1 in /home/passgrip/pages/finditjoe/htdocs/index.php on line 38
Warning: Trying to access array offset on null in /home/passgrip/pages/finditjoe/htdocs/index.php on line 38