title: how to fetch only a row from a mysql query
body: <p>i allways end up doing this</p>
  
  <pre><code>$q = "select whatIwant FROM table where id = 'myId'";
  $r = mysql_query($q);
  while($i = mysql_fetch_array($r){
     /* iterate just one withem */
     $j = $i['whatIwant'];
  }
  echo $j;
  </code></pre>
  
  <p>how is this usually done? (i just want to avoid the unecessary loop)</p>