You could put an IF statement around any code. I don't really understand the context though.
I think you are looking for something like:
$UpdateQuery->bindColumn("selfdescribe", "s", "".(($_POST["otherField"] == "3")?$_POST["selfD"]:"") ."", "WA_DEFAULT");