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

8 lines
329 B
Plaintext

<?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;
}
?>