title: Warning: mysql_query() expects parameter 1 to be string,
body: <p>I get this<br/>
  <code>*Warning: mysql_query() expects parameter 1 to be string*</code><br/>
   when I am trying to run this query in my PHP-code and I don't understand why. </p>
  
  <p>The query runs when entered from the commandline, but I cant get it to run in PHP. 
  Could someone please help me with this?</p>
  
  <pre><code>$pickass = mysql_query("SELECT MAX(aid) FROM asset");
  $pickassssult = mysql_query($pickass);
  </code></pre>
  
  <p>Thanks.</p>