title: MYSQL PHP Select
body: <p>How do I select in this way:</p>
  
  <pre><code>$sql_result = mysql_query("SELECT 1 FROM myTable WHERE myColumn = 'something' LIMIT 0,1");
  if(is_resource($sql_result) &amp;&amp; mysql_num_rows($sql_result) &gt; 0 ){
      // how do I select a row here?
  }
  </code></pre>
  
  <p>like i would with this:</p>
  
  <pre><code>$query = "SELECT * FROM myTable WHERE myColumn='something'";
  $result = mysql_query($query) or die(mysql_error());
  while ($row = mysql_fetch_array($result)) {
      $something = $row['SOMETHING'];
  }
  </code></pre>