title: First 10 char from $GET parameter from column
body: <p>MYSQL Query How to get first 10 char from $_GET from column customername from mytable.</p>
  
  <pre><code>SELECT * FROM mytable WHERE 'customername'=".mysql_real_escape_string($_GET['name'])"
  </code></pre>
  
  <p>Which operator to use ? TOP selects rows 
  I want to get first 10 characters of all records in column customername.</p>