title: How to select value number of ENUM types in MySql?
body: <p>I need to select a row from table below, but the problem is the value in <code>$row['city']</code> is the textual represent of the value, and i need its number(Toronto = 2). (Same as when we INSERT INTO, and we use value number instead of text)</p>
  
  <p>Requests Table Structure:</p>
  
  <pre><code>req_id INT
  uname  VARCHAR(30)
  city   ENUM('New York', 'Toronto', 'Las Vegas')
  </code></pre>