I have a custom loop that excludes categories using this code:
query_posts(array('category__not_in' => array(2,6)));
Instead of specifying the categories to exclude in the code, I'd like to be able to set the option in my custom theme options menu. The code to call the option is get_option('ex_cats');
. How do I call this in my query_posts statement?