<?
("SELECT * FROM user where id = '$ank[id]'"
?>
GooDLikE++, ещё один
Notice : Use of undefined constant id_user - assumed 'id_user' in /home/usr/data/vie/arhiles.ru/adm_panel/mailshpion3.php on line
38
Notice : Use of undefined constant id_kont - assumed 'id_kont' in /home/usr/data/vie/arhiles.ru/adm_panel/mailshpion3.php on line
39
///
38 $ank2=mysql_fetch_array(mysql_query("SELECT * FROM `user` WHERE `id` = '".mysql_real_escape_string($post[id_kont])."' LIMIT 1" )); I X
39 $ank=mysql_fetch_array(mysql_query("SELECT * FROM `user` WHERE `id` = '".mysql_real_escape_string($post[id_user])."' LIMIT 1" )); I
$q = mysql_query I X
461 ( "select * from `user` ORDER BY `id` desc LIMIT 3;" ); I X
462 $post = mysql_fetch_array ( mysql_query I
X
463 ( "select `nick` from `user` where `id` = ' $ank [ id] ';"); I X
464 echo "<div class='nav2'>" ;
<?
$ank2=mysql_fetch_array(mysql_query("SELECT * FROM `user` WHERE `id` = '".intval($post['id_kont'])."' LIMIT 1" ));
$ank=mysql_fetch_array(mysql_query("SELECT * FROM `user` WHERE `id` = '".intval($post['id_user'])."' LIMIT 1" ));
?>
+ фильтрацию исправил
<?
$q = mysql_query("SELECT * FROM `user` ORDER BY `id` desc LIMIT 3"
$post = mysql_fetch_array(mysql_query( "SELECT * FROM `user` where `id` = '$ank[id]'"
?>
Мой тебе совет выкинь этот скрипт.