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