What's during my functions:

$var = get_option('to_twitter_feed');

array( "name" => "Twitter Username",
    "desc" => "Enter your Twitter username for the Twitter feed",
    "id" => $shortname."_twitter_feed",
    "type" => "text",
    "std" => ""),

During my WordPress options I've got a custom twitter widget. I would like customers to have the ability to simply type their title within the input and also have it placed in to the widget code. The majority of this code is done: essentially, I simply need to understand how to place the what's contacted first code below in to the second code.

The Way I refer to it as:

<?php echo get_option('to_twitter_feed'); ?>

The code I have to place it into (where it states THEUSERNAME):

<script type='text/javascript'>
    jQuery(function($){
        $(".tweet").tweet({
            username: "THEUSERNAME",
            join_text: "auto",
            avatar_size: 32,
            count: 3,
            auto_join_text_default: "said,", 
            auto_join_text_ed: "we",
            auto_join_text_ing: "we were",
            auto_join_text_reply: "replied to",
            auto_join_text_url: "was checking out",
            loading_text: "loading tweets..."
        });
    });
</script>

when you get twitter username by

<?php echo get_option('to_twitter_feed'); ?>

then

you are able to set twitter username in java script such as this

<script type='text/javascript'>
    jQuery(function($){
        $(".tweet").tweet({
            username: "<?php echo get_option('to_twitter_feed'); ?>",
            join_text: "auto",
            avatar_size: 32,
            count: 3,
            auto_join_text_default: "said,", 
            auto_join_text_ed: "we",
            auto_join_text_ing: "we were",
            auto_join_text_reply: "replied to",
            auto_join_text_url: "was checking out",
            loading_text: "loading tweets..."
        });
    });
</script>