Dan McCullough wrote:
Anything wrong with SELECT * FROM story WHERE approved = 1 AND newsId != $newsId AND editionId = $eid ORDER BY newsSortOrder ASC
Should be fine if I understand your question correctly. You can use != or <>; same result.
-- ---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals – www.phparch.com
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php