Changing a VARCHAR with MySQL PHP?
<pre><code>$db-&gt;query("UPDATE `".MLS_PREFIX."users` SET `logo` = $icon WHERE `userid` = $id");
</code></pre>

<p>The query thing works fine, but logo doesn't change. It is a VARCHAR and I made sure $icon is a string. It does not change, but I have the same query somewhere else just changing a INT and it works fine.</p>