if ($userdata['user_id'] != $lookup AND $userdata['user_id'] != ''){ echo "<br><center><a href='profilis.php?lookup=$lookup&buddy=I'><img src=http://lifemp3.info/images/prideti.png></a>"; }else{ echo "Draugas jau pakviestas"; }