Максим (18.02.2010/21:39)
Dimario, покажи строчку в которой обновление.
if (!$error) {
mysql_query("UPDATE `users` SET
`imname` = '" . $user['imname'] . "',
`live` = '" . $user['live'] . "',
`dayb` = '" . $user['dayb'] . "',
`monthb` = '" . $user['monthb'] .
"',
`yearofbirth` = '" . $user['yearofbirth'] . "',
`about` = '" . $user['about'] . "',
`mibile` = '" . $user['mibile'] . "',
`mail` = '" . $user['mail'] . "',
`mailvis` = '" . $user['mailvis'
] . "',
`icq` = '" . $user['icq'] . "',
`skype` = '" . $user['skype'] . "',
`jabber` = '" . $user['jabber'] . "',
`www` = '" . $user['www'] . "',
`colornick` = '" . $user['colornick'] . "',
`your` = '" . $user['your'] . "',
`subject` = '" . $user['subject'] . "',
`body`='" . $user['body'] . "',
`character`='" . $user['character'] . "',
`eyecolor`='" . $user['eyecolor'] . "',
`haircolor`='" . $user['haircolor'] . "',
`family`='" . $user['family'] . "'
`vpolit` = '" . $user['vpolit'] . "'
`vrelig` = '" . $user['vrelig'] . "'
WHERE `id` = '" . $user['id'] . "' LIMIT 1");
if ($rights >= 7) {
mysql_query("UPDATE `users` SET
`name` = '" . $user['name'] . "',
`status` = '" . $user['status'] . "',
`immunity` = '" . $user['immunity'] . "',
`sex` = '" . $user['sex'] .
"',
`rights` = '" . $user['rights'] . "'
WHERE `id` = '" . $user['id'] . "' LIMIT 1");
}
echo '<div class="gmenu">Данные сохранены</div>';
}
else {
echo display_error($error);
}
если это не это то подскажите №строки