include("header.php")?> $tb_name = "newsadmin"; $MT_ID="MT20130529074431"; $today1=date("Ymd")."595959"; $today2=date("Ymd")."000000"; $SQL="Select *,date_format(StartDate,'%Y-%m-%d') as StartDate1 from $tb_name where MT_ID='$MT_ID' and ((StartDate<='$today1' and EndDate>='$today2') or (StartDate<='$today1' and EndDate='')) order by StartDate desc"; $result=mysql_query($SQL,$conn); error($conn); ?>
include("fb.php")?> | |||||||||||
|
|||||||||||
|