$result equals nothing if mysql column not found?
<p>How could i get <code>$result</code> too equal nothing if the column doesn't exist in PHP?</p>

<p>I was thinking something like this:</p>

<pre><code>$result=mysql_query("SELECT * FROM users WHERE username=$key DESC LIMIT 1")or die ($result = '');
</code></pre>

<p>But i was told thats wrong.</p>
