virt2/api/code/ajax/lk.php_1600849338.old

8 lines
329 B
Plaintext
Raw Normal View History

<?php
switch( @$_POST['act'] ) {
case 'save_profile':/*сохранение категории*/
$db->free_sql('UPDATE `users` SET `fio` = "' . $_POST['fio'] . '", `tel` = "' . $_POST['tel'] . '", `adres` = "' . $_POST['adres'] . '", `org` = "' . $_POST['org'] . '" WHERE `id` = ' . $_SESSION['user_id']);
break;
}
?>