9 lines
417 B
PHP
Executable File
9 lines
417 B
PHP
Executable File
<?
|
|
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']);
|
|
mysql_query("update ".$_REQUEST['type']." set status='".$_REQUEST['status']."' where id='".$_REQUEST['record']."'");
|
|
header("Location: ReminderWindow.php");
|
|
mysql_close($sql);
|
|
?>
|