You check to see whether [font=monospace]$SESSION['Adm'][/font] exists before using it, but you never check that any of the [font=monospace]$POST[/font] variables exist before using them.
Nor you have anything in place to handle the possibility that they might not be defined.
Nor do you have any protection in your code from SQL injection (see the description of the [font=monospace]query[/font] parameter on the [man]mysql_query[/man] page.
Also, PHP's developers discourage the use of the MySQL extension for new development, because it will soon be deprecated and then removed from PHP. See the [man]mysql_query[/man] for the warning about that.