title: Fetching SQL records
body: <p>Ah, I wrote a script, but I forgot already how to fetch MySQL records... so... I get problem with this</p>
  
  <p>RESOURCE id#X</p>
  
  <pre><code>$QUERY = "SELECT id FROM WORKING TABLE VARIABLE WHERE username='WORKING USERNAME VARIABLE' and password='WORKING PASSWORD VARIABLE'";
  $QUERY1 = mysql_query($QUERY);
  $myusername = $QUERY1
  echo $myusername;
  </code></pre>
  
  <p>I know I have to fetch it here. I tried many ways on internet. But none of them works. Mean through I get NOTHING as result back. Help please?</p>
  
  <p>Without this code... I get everything, like password, email and username (alpha version).</p>