<?php
require(DIR_INCLUDE.'data.php');
$tb="a_course";
mysql_select_db($db) or die("Cannot Select Databases");
$sql = "Select * From $tb where status = 'Y' order by uid desc";
$dbquery = mysql_db_query($db,$sql);
$num_rows = mysql_num_rows($dbquery);
?>