PHP using mysql_select_db: receiving "is not a valid MySQL-Link resource" error
<p>Here is the skinny - I can connect to my database just fine but when I try to access my table inside the database I keep getting thrown this error code: </p>

<pre><code>Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /var/www/clients/client11/web31/web/update.php on line 11 
</code></pre>

<p>Here is my update.php code </p>

<pre><code>&lt;?php
$db_name = "X";
$db_pass = "X";
$db_user = "X";
$db_host = "localhost";

$con = mysql_connect($db_host,$db_user,$db_pass) || die(mysql_error());


$select = mysql_select_db('gold_market',$con) || die(mysql_error()); 

?&gt;
</code></pre>

<p>Help. Please. </p>
