Friend request system in PHP PDO