= CURDATE() and ec_category = 'event' and ec_id = link_storyid and link_catid = cat_id order by ec_expiredate, ec_id"; $result = mysql_query($sql) or die(mysql_error()); if(mysql_num_rows($result) > 0) { $i=0; while ($row = mysql_fetch_assoc($result)) { //SHOW THE NEWS ITEMS extract($row); ?>
Reseller
Distributor
Vendor
End User
Content
Demo