<?
if (isset($_GET['pnp']))
mysql_query("UPDATE `users` SET `wmid_ok` = '".($ank['wmid_ok'] == 1 ? 0 : 1)."' WHERE `id` = ". $ank['id']);
?>
<?
if ($ank['wmid_ok']==0) mysql_query("UPDATE `users` SET `wmid_ok` = 1 WHERE `id` = '".$ank['id']."'"
?>