|
|
|
Please choose one topic:
include("../admin/dbconfig_inc.php");
$sql = "SELECT * FROM Cases ORDER BY PostDate DESC";
$result = mysql_query($sql,$conn);
$num_rows = mysql_num_rows($result);
if ($num_rows == 0)
{
echo "\n";
echo "| Sorry. We do not have any case report. | \n";
echo " \n";
}
else
{
while ($myrow = mysql_fetch_array($result))
{
?>
 |
" target="_self">
=$myrow["CaseName"]?>
|
post on
list ($year, $month, $day) = split ('[/.-]', $myrow["PostDate"]);
echo date("j F, Y",mktime(0,0,0,$month,$day,$year));
?>
|
}
}
?>
|
|
|