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
$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
Comment