Okay so going...

PHP Code:
        if($i 1)
            {
            
$output[] = '</tr>';
            } 
...is fine. The trouble starts when I go...

PHP Code:
        if($i 1)
            {}
        else
            {
            
$output[] = '<tr>';
            } 
...I mean it works and all but it's not very graceful... even by my standards.

I tried...


PHP Code:
if($i !& 1
...and even...

PHP Code:
if!($i 1

...but both of those produce syntax errors.

What's the correct way to do this??