Warning: mysqli_real_escape_string() expects exactly 2 parameters, 1 given in /home/cooking/public_html/catpage.php on line 8

Warning: mysqli_query() expects at least 2 parameters, 1 given in /home/cooking/public_html/catpage.php on line 9

Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, null given in /home/cooking/public_html/catpage.php on line 10

Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /home/cooking/public_html/title.php on line 3

Fatal error: Uncaught Error: Call to undefined function mysql_real_escape_string() in /home/cooking/public_html/title.php:46 Stack trace: #0 /home/cooking/public_html/afcg-header.php(1): include() #1 /home/cooking/public_html/catpage.php(52): include('/home/cooking/p...') #2 {main} thrown in /home/cooking/public_html/title.php on line 46