title: Get MySQL Query Results as Their Native Data Type?
body: <p>I have tried fetching MySQL query results using <code>mysql_fetch_row()</code> and <code>mysql_result()</code> and numeric values are being returned as strings. </p>
  
  <p>Is there any way to fetch the data as its datatype stored in the table?</p>
  
  <p>The application will be querying many different queries so I will be unable to cast the values as the intended datatype on a 1 by 1 basis.</p>