|
$cdate=mktime();
$inewsquery = "select `id`, `header`, `small_desc`, `date_ir` from ynfx_mis_ir WHERE visibility='1' AND status ='a' and `special_type` = 'Y' order by date_display_from desc limit 5";
$inewsresult = mysql_db_query("ynfx_revamp",$inewsquery);
$count = mysql_num_rows($inewsresult);
for ($i=0;$i<$count;$i++)
{
$id=mysql_result($inewsresult,$i,"id");
$date_news=mysql_result($inewsresult,$i,"date_ir");
$body = mysql_result($inewsresult,$i,"header");
/*echo '
|
';*/
echo '
|
|
';
}
?>
|
|
|