Why is this SQL UPDATE QUERY returning false?
<p>I'm making a game and I ran into some trouble with a query that won't seem to work what ever I try to do. I have four variables (that are validated)</p>

<pre><code>$id, $plantId, $stage, $started
</code></pre>

<p>And my query looks like this...</p>

<pre><code>$sql = "
        UPDATE growth
        SET plantId = '$plantId', stage = '$stage', started = '$started'
        WHERE id = '$id'
";
</code></pre>

<p>It returns false, but I tried the same query in phpMyAdmin and it worked!
What am I doing wrong?</p>