title: Not showing my reference link
body: <pre><code>function select_History_Date($link){
      $status = '';
      $sql = "SELECT Student_Id, Loaner_Laptop_Id, HDD_Id, "
          . "Phone_Id, date_returned " 
          . "FROM equipment_history WHERE Loaner_Laptop_Id "
          . "IS NOT NULL OR HDD_Id IS NOT NULL OR Phone_Id IS NOT NULL";
     $ret = mysqli_query($link, $sql);
     $row1 = mysqli_fetch_array($ret, MYSQLI_ASSOC);    
       if (!$ret) {
        die('Could not execute select statement:' . mysqli_errno($link));
       } else {
       while ($row1 = mysqli_fetch_array($ret, MYSQLI_ASSOC)) {
       $status .= '&lt;tr&gt;';
       if(is_Null($row1)){
          $status .= '&lt;td&gt;&lt;a href="ReturnLaptop.php?laptopId=' . 
                   $row1['Loaner_Laptops_Id'] . 'studentId='. 
                   $row1['Student_Id']. '"&gt;'. 'Return'. '&lt;/td&gt;';
           } else{
          $status .= '&lt;td&gt;' . $row1['date_returned'] . '&lt;/td&gt;';
          }            
          }
          $status .= '&lt;/tr&gt;';
          return $status;
   }
  }
  </code></pre>
  
  <p>With How I envision it this should be printing the href link but its just printing blanks Am I missing something? Or is this simply just not possible to do.</p>