init
This commit is contained in:
9
modules/EcmReminders/CloseReminder.php
Normal file
9
modules/EcmReminders/CloseReminder.php
Normal file
@@ -0,0 +1,9 @@
|
||||
<?
|
||||
require_once("../../config.php");
|
||||
|
||||
$sql=mysql_connect($sugar_config['dbconfig']['db_host_name'],$sugar_config['dbconfig']['db_user_name'],$sugar_config['dbconfig']['db_password']);
|
||||
mysql_select_db($sugar_config['dbconfig']['db_name']);
|
||||
$GLOBALS['db']->query("update ".$_REQUEST['type']." set status='".$_REQUEST['status']."' where id='".$_REQUEST['record']."'");
|
||||
header("Location: ReminderWindow.php");
|
||||
mysql_close($sql);
|
||||
?>
|
||||
Reference in New Issue
Block a user