title: SELECT with mysqli returns null
body: <p>I'm trying to select a row from a table using mysqli but all I can get is a bunch of null values and I don't really know why. The same query works using normal php mysql and if I try to perform the same query on phpMyAdmin using the parameter I pass goes through fine.</p>
  
  <p>Here's the code:</p>
  
  <pre><code>$con = mysqli_connect('localhost', 'user', 'pass',"db");
  
  if (mysqli_connect_errno()){
      die("Failed to connect to MySQL: " . mysqli_connect_error());
  }
  $coupon = $_GET['coupon'];
  $sql = mysqli_prepare($con, "SELECT * FROM coupon WHERE coupon=?");
  $sql-&gt;bind_param('s', $coupon);
  $sql-&gt;execute();
  $sql-&gt;store_result();
  echo $sql;
  </code></pre>
  
  <p>returns</p>
  
  <pre><code>"affected_rows":null,
  "insert_id":null,
  "num_rows":null,
  "param_count":null,
  "field_count":null,
  "errno":null,
  "error":null,
  "error_list":null,
  "sqlstate":null,
  "id":null
  </code></pre>
  
  <p>I already tried to search for an answer either here and on google but I couldn't find anything close to my problem.
  What am I doing wrong?</p>