Okay, I'll remove the echo's.

This doesn't work.

if (% != $null) {
do this
}
elseif (% == $null) {
do this
}

1 has to work, right? But none trigger.

This does, though.

if (% == $null)
do this
}
else {
do this
}

In other words, I had to rearrange the order.

Edit: fixed.

Last edited by LostShadow; 01/12/07 12:40 AM.