Results 1 to 2 of 2
Nov 5, 2011, 11:48 #1
Very simple PHP question...select 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):?>
How would I go about doing this? Thanks for helping out!
Nov 5, 2011, 15:37 #2
- Join Date
- Apr 2011
- no fixed address
- 0 Post(s)
- 0 Thread(s)
Use the not equal instead of equals comparison operator.