I'm trying to SELECT from usr_uploaded_content
WHERE the id
is NOT equal to $content_id
I'm just wondering how this could be achieved. Thankyou.
SELECT * FROM `usr_uploaded_content` WHERE `id` != '$content_id' LIMIT 2
In this example I used the !=
to demonstrate the not equal.