//ads: ?> php mysql + create a friend request systemphpmysqljquery PHP Snippet 1:if ($_GET['id'] = $_SESSIOM['id']) { //you cannot add yourself }