5 lines
210 B
PHP
5 lines
210 B
PHP
|
|
<?
|
||
|
|
$GLOBALS['db']->query("update ecmcashs set main='0'");
|
||
|
|
$GLOBALS['db']->query("update ecmcashs set main='1' where id='".$_REQUEST['record']."'");
|
||
|
|
header("Location: index.php?module=EcmCashs&action=index");
|
||
|
|
?>
|