Very simple PHP multiple IDs with elseif statement?

I am quite new to php but I managed to combine two IF statements into one. However, I am now having problems with the elsif part of the statement.

Here it is:

<?php elseif($listing['Category']['cat_id'] == 73):?>

I need to be able to select multiple category ids…or, better yet have it say ELSE IF “SHOW ANY CATEGORY BUT CATEGORY 74”

How would I go about doing this? Thanks for helping out!

Use the not equal instead of equals comparison operator.