Warning: Undefined variable $connect in /home2/mahayono/public_html/post.php on line 10

Fatal error: Uncaught TypeError: mysqli_query(): Argument #1 ($mysql) must be of type mysqli, null given in /home2/mahayono/public_html/post.php:10 Stack trace: #0 /home2/mahayono/public_html/post.php(10): mysqli_query(NULL, 'SELECT * FROM `...') #1 {main} thrown in /home2/mahayono/public_html/post.php on line 10