query("update ecmproducts_log set sent='1' where date_entered<='".date("Y-m-d H:i:s")."' and ecmproduct_id='".$_REQUEST['record']."'"); //header("Location: ".$file); header("Location: index.php?module=EcmProducts&action=DetailView&record=".$_REQUEST['record']); ?>