Posted by brett on 11/06/06 05:15
I'd like to check these two conditions:
if ((is_page() or ($category->cat_ID === $cat)){
do something
}
but keep getting an "unexpected {..." error. If I do this, it works
fine:
if ($category->cat_ID === $cat){
do something
}
I'm guessing the array access has something to do with it. Any
suggestions?
Thanks,
Brett
[Back to original message]
|