Problem with multiple sidebars

I am able to get 1 sidebar to show up but the second one just refuses to show on my theme.

Here are some excerpts from the code:

functions.php


<?php

if(function_exists('register_sidebar'))
{
    register_sidebar(array('name' => 'sidebar 1'));
    register_sidebar(array('name' => 'sidebar 2'));
}

?>

sidebar.php

            
<ul id="midSidebar">
     <?php
                
     if(!function_exists('dynamic_sidebar')
     || !dynamic_sidebar('sidebar 1')) :
                
      ?>
                
      <p>You're not using a dynamic sidebar!</p>
                
      <?php endif; ?>
</ul> <!-- midSidebar DIV -->

sidebar2.php

<ul id="rightSidebar">
      <?php
                
      if(!function_exists('dynamic_sidebar')
      || !dynamic_sidebar('sidebar 2')) :
                
      ?>
                
      <p>You're not using a dynamic sidebar!</p>
</ul> <!-- rightSidebar DIV -->


index.php

<?php get_sidebar('sidebar 1'); ?>
<?php include('sidebar2.php'); ?>

I have a feeling the include(‘sidebar2.php’) won’t actually link to the sidebar2.php in my themes folder but I am not sure how to rectify this.

I appreciate the help, thanks.

Try downloading the Thematic framework. It comes with an option of different layouts such as a three column / 2 sidebar one.