PHP mysql error deleting row : <p>I keep getting the following error:</p>

<blockquote>
  <p>You have an error in your SQL syntax; check the manual that
  corresponds to your MySQL server version for the right syntax to use
  near 'order WHERE id = '49'' at line 1</p>
</blockquote>

<p>I don't understand what is causing this. I've checked for any syntax errors, reviewed mysqli documentation, and looked up similar posts here on Stack Overflow with no luck. What the heck am I doing wrong?</p>

<p>This is the code that I am using:</p>

<pre><code>&lt;?php 

    if (isset($_GET['order_id']) &amp;&amp; $_GET['order_id'] != "")
    {
            $delete_id = $_GET['order_id'];
            echo "&lt;p&gt;$order_id&lt;/p&gt;";

            $conn = new mysqli($server, $user, $password, $database);
            $sql = "DELETE FROM order WHERE id = '" . $delete_id . "';";
            $result = mysqli_query($conn, $sql) or die(mysqli_error($conn));
            mysqli_close($conn);
    }
?&gt;
</code></pre>
