in reply to Re^2: if/else syntax
in thread if/else syntax

what you are looking for is:
if ($cond==1) { do_good(); } else { do_bad(); }


-pete
"Worry is like a rocking chair. It gives you something to do, but it doesn't get you anywhere."