Location: PHPKode > projects > phpMyPrepaid > phpmyprepaid/www/include/reports/BillingPlan.php
<?php
include ('../../config.inc.php');

echo "<br><br>Billing Plan list  <span style=\"font-weight: bold;\"> </span>  &nbsp; &nbsp; &nbsp; Created the ";
echo '<span style="font-weight: bold;">';
echo date($dateFormat);
echo "<span><br>";

echo '
<br>
<br>
<br>
<table border="4" style="text-align: left; width: 714px; height: 58px;"
 cellpadding="2" cellspacing="2">
<tbody>
<tr border="4" style="text-align: left; width: 714px; height: 58px;"
 cellpadding="2" cellspacing="2">
<td border="1" style="width: 20%; background-color: rgb(192, 192, 192);">Name
</td>
<td border="1" style="background-color: rgb(192, 192, 192);">Value</td>
<td style="background-color: rgb(192, 192, 192);">Price</td>
<td border="1" style="background-color: rgb(192, 192, 192);">Type</td>
</tr>';

while ($row = $oreon->database->database->fetch_object($result)) {
  	$name=$row->NameBp;
  	$type=$row->TypeBp;
  	$value=$row->TimeBp;
  	$price=$row->PriceBp;
	
  echo ("<tr>
      <td >$name</td>
      <td >$value</td>
      <td >$price</td>
      <td >$type</td>
      </tr>    
      ");
}

echo (" </tbody></table><br><br></body></html>");
?>
Return current item: phpMyPrepaid