title: How to turn off warning messages from php local host
body: <p>when a query doesn’t match e.g user name and password, the localhost returns an warning message. how can i turn it off?</p>
  
  <p>i think there is some 
  Can someone guide me please?</p>
  
  <p>waning message is this</p>
  
  <pre><code>Warning: mysql_result(): Unable to jump to row 0 on MySQL result index 2 in /var/www/login/loginform.php on line 24
  </code></pre>