Exemple #1
0
<?php

include "../../../../myDatabase.php";
include "../../../../myDatabase4.php";
$date1 = $_POST['date1'];
$date2 = $_POST['date2'];
$title = $_POST['title'];
$ro = new database();
$ro4 = new database4();
$patientCount = 0;
//ilan patient
$seniorNo = 0;
//ilan nka tag n senior
$discountNo = 0;
//ilan ung mya discount
$ro4->laboratory_senior_patient($date1, $date2, "OPD", $title);
?>
<!DOCTYPE html>
<html>
	<head>
	  <meta charset="UTF-8">
	  <link rel="stylesheet" href="/bower_components/bootstrap/dist/css/bootstrap.min.css">
	</head>
	<body>
		<div class="container">
			<h3> <?php 
echo $title;
?>
 </h3>
			<h5><?php 
echo $ro4->formatDate($date1);