SQL Query is failing without reason : <p>So this is my php Code and I do not understand why my query is failing always! I copied <code>$sql</code> from the phpMyAdmin site. But it is returning false all the time.</p>

<pre><code>$servername = "localhost";
        $dbname = "gumdb";

        $conn = mysqli_connect($servername, $dbname);
        if (!$conn) {
            die("Connection failed: " . mysqli_connect_error());
        } else {
            echo "Connected! &lt;br /&gt;";
        }

        $sql = 'SELECT * FROM `test` WHERE 1;';
        $result = mysqli_query($conn, $sql);

        if ($result === FALSE) {
            echo "result failed!";
            die(mysql_error());
        }
</code></pre>

<p><a href="https://i.stack.imgur.com/YBSYZ.jpg" rel="nofollow noreferrer">Result of the test</a></p>
