Warning: Undefined variable $result in C:\Inetpub\vhosts\techior.com\httpdocs\blog\post.php on line 20

Fatal error: Uncaught TypeError: mysqli_fetch_array(): Argument #1 ($result) must be of type mysqli_result, null given in C:\Inetpub\vhosts\techior.com\httpdocs\blog\post.php:20 Stack trace: #0 C:\Inetpub\vhosts\techior.com\httpdocs\blog\post.php(20): mysqli_fetch_array() #1 {main} thrown in C:\Inetpub\vhosts\techior.com\httpdocs\blog\post.php on line 20