title: What is the meaning of sprintf(): Too few arguments
body: <p>I have an sql query like this </p>
  
  <pre><code>if (isset($_POST['no_peserta_mhs_2015'])) {
  $colname_rec_mhs_2015 = $_POST['no_peserta_mhs_2015'];
  }
  mysql_select_db($database_connect, $connect);
  $query_rec_mhs_2015 = sprintf("SELECT * FROM mhs_2015 WHERE no_peserta_mhs_2015 = %s or nama_mhs_2015 like %s ", GetSQLValueString($colname_rec_mhs_2015, "text"));
  </code></pre>
  
  <p>But I get this error </p>
  
  <pre><code>Warning: sprintf(): Too few arguments in C:\xampp\htdocs\gugus_2015\index.php on line 39 Query was empty
  </code></pre>
  
  <p>I don't know what's wrong.</p>