Limit

Started on the old forum in August 2009 · view the original in the archive · old links redirect here

1 reply · 461 views · started 17 years ago · 1 min read

2 participants
dominik92r Junior · 38 posts #1

If I have the page in such a record:

$sql="SELECT id, byid, fwd, unread, archive, toid, text FROM inbox WHERE ((toid='".getuid_sid($sid)."' AND fwd='0') OR (fwd='".getuid_sid($sid)."')) AND archive='0' ORDER BY !unread,id DESC LIMIT $limit_start, $items_per_page ";

I put LIMIT which will concern only the text? Sorry my english is bad

something else Fellow · 2,296 posts #2

???? if you take out LIMIT $limit_start, $items_per_page it will show everything in 1 page otherwize you are limiting it a number of items

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close