title: odbc_exec - no error or results
body: <p>I'm new to using odbc functions.  I'm trying to simply execute a simple query, but I get not error or results back.  I'm not sure what's wrong.</p>
  
  <pre><code>$server = [hidden];
  $database = [hidden];
  $user = [hidden];
  $password = [hidden];
  $connection = odbc_connect("Driver={ODBC Driver 13 for SQL Server};Server=$server;Database=$database;", $user, $password);
  
  if ($connection) {
      $mail = 'email@email.com';
      $queryc = "SELECT COUNT(*) AS [Found] FROM [Table].[dbo].[Persons] WHERE [Address] = '$mail'";
      $resultsc = odbc_exec($connection, $queryc);
      if( !$resultsc ) {
          die( print_r( odbc_error())));
      } else {
          'hi!';
      }
  }
  </code></pre>