Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jul 15th, 2018
75
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.36 KB
| None
|
0
0
raw
download
clone
embed
print
report
// next
$select->from(
array(
'photos' => $this->_name
),
array(
'photo_id', 'fk_user_id'
)
)
->where('photo_id > ?', $id)
->limit(1);
// prev just switch the where clause photo_id < ?
Add Comment
Please,
Sign In
to add comment
Public Pastes
CorrectCode
C# | 1 min ago | 0.93 KB
UnitTest
C# | 2 min ago | 6.66 KB
RSA.Cracker
C++ | 41 min ago | 3.17 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 1 hour ago | 0.39 KB
Bouncing Cat Window (Autohotkey)
Autohotkey | 1 hour ago | 1.89 KB
PngData
Python | 1 hour ago | 0.90 KB
Horror Clock by TheLoneCatt
Lua | 3 hours ago | 2.62 KB
Pastebin.ai - #1 pastebin alternative
PHP | 3 hours ago | 0.84 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!