title: Warning: mysql_result(): supplied argument is not a valid MySQL result resource in
body: <p>Hi can someone explain why I'm receiving this error?
  <strong>Warning: mysql_result(): supplied argument is not a valid MySQL result resource in</strong></p>
  
  <pre><code>if (mysql_result(mysql_query("SELECT count(*) FROM load_test                                                            WHERE batch_id=UCASE('".$batchid."') 
  AND word='".$data[2]."',
  type='".$data[3]."',
  language = '".$data[4]."',
  rgender = '".$data[5]."'
  "), 0) == 0) {
  </code></pre>