5 lines
213 B
PHP
5 lines
213 B
PHP
|
|
<?
|
||
|
|
$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");
|
||
|
|
?>
|