Synthesis of phenylpiperazine derivatives of 1,4-benzodioxan as selective COX-2 inhibitors and anti-inflammatory agents.