in reply to how to use getOptions()

Please, enclose your code into <code> ... </code> tags as suggested above and below the "Add question" window. Without it, your post is unreadable. See Writeup Formatting Tips and Markup in the Monastery for details.