Php showing resorce id and errors
<p>Whenever I run this code, I get a resource id. How do I fix this:</p>

<pre><code>function ct()
{
    $result = mysql_query("SELECT `Quantity` FROM `shopping cart` WHERE `Customer_id`=1") or die(mysql_error());
    mysql_fetch_array($result);   
    echo "$result";
}
</code></pre>
