I have a web board script that I need to impose a limit on the database
select.
I tried using:
SELECT * FROM posts where of_forum='$forum_num' AND POST_ID <= '$upper' AND
POST_ID >= '$lower'
and
SELECT * FROM posts where of_forum='$forum_num' ORDER BY POST_ID desc LIMIT
'$lower','$upper'
$lower and $upper are defined from the url.
But that doesn't seem to work. Any ideas?
-- Ben Cairns - Head Of Technical Operations
intasept.COM
Tel: 01332 365333
Fax: 01332 346010
E-Mail: [EMAIL PROTECTED]
Web: http://www.intasept.com
"MAKING sense of
the INFORMATION
TECHNOLOGY age
@ WORK......"
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]