mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-13 10:56:26 +00:00
11 lines
201 B
PHP
11 lines
201 B
PHP
<?
|
|
authorize();
|
|
$FriendID = db_string($_GET['friendid']);
|
|
$DB->query("
|
|
INSERT IGNORE INTO friends
|
|
(UserID, FriendID)
|
|
VALUES ('$LoggedUser[ID]', '$FriendID')");
|
|
|
|
header('Location: friends.php');
|
|
?>
|