<td><span class="style5">Result contributed to? </span></td>
    <td><?php 
                        echo $result_t;
                        ?>
</td><td><?php 
                        echo $result_d;
                        ?>
</td>
    <td><span class="style5">Option Weightage: </span></td>
    <td><?php 
                        echo $point;
                        ?>
</td>
  </tr>
  <?php 
                        $quiz->addMultiTypeOption($option, $result_t, $result_d, $point, $question_id);
                    }
                    //check if result is null. If not, insert into database.
                    if ($result_title != null) {
                        ?>
  <tr bgcolor="#99CCFF">
    <td><span class="style10">Result:</span></td>
    <td><?php 
                        echo $result_title;
                        ?>
</td>
  </tr>
  <tr>
    <td><span class="style10">Result description:</span></td>
    <td><?php 
                        echo $result_des;