Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jun 20th, 2018
96
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
PHP
0.18 KB
| None
|
0
0
raw
download
clone
embed
print
report
$sql
=
"SELECT * FROM friends WHERE user='
$u
' AND friend='
$f
'"
;
$result
=
mysql_query
(
$sql
)
;
$count
=
mysql_num_rows
(
$result
)
;
//stuff
if
(
$count
==
0
)
{
//add as friend and send PM
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 18 min ago | 0.39 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🎁
GetText | 28 min ago | 0.38 KB
Untitled
Python | 29 min ago | 0.70 KB
Comparison of membership check speeds in list...
Python | 1 hour ago | 2.29 KB
Untitled
C++ | 1 hour ago | 2.58 KB
GFCHGFDHGFHG
PHP | 2 hours ago | 1.59 KB
Conversor MP4 para MP3 e Vice Versa (Necessit...
Python | 3 hours ago | 6.78 KB
U_Proses.PAS
TypeScript | 3 hours ago | 5.85 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!