drupal_render($form) not rendering a form I wonder if anyone has found a solution to the problem I'm seeing.  I've built a very simple "beginner's form" in drupal.

function simple_nameform() {
    $form = array(
        '#method'           =&gt; 'post',
        '#prefix'           =&gt; '&lt;div class="staf"&gt;',
        '#suffix'           =&gt; '&lt;/div&gt;',
        'your_name'         =&gt; array(
            '#title'        =&gt; t('Your Name'),
            '#type'         =&gt; 'textfield',
            '#description'  =&gt; t('Please enter your name')
        ),
        'submit'            =&gt; array(
            '#type'         =&gt; 'submit',
            '#value'        =&gt; t('submit')
        )
    );
    return $form;
}


I've put this form in a module, with info, I've enabled the block in admin.  When I'm on the main page render I run the commands

&lt;div class="simple_overlay" id="simple"&gt;
    &lt;h1&gt;Send to a Friend&lt;/h1&gt;
    &lt;?php
        $output = drupal_get_form('simple_nameform');
        drupal_render($output);
    ?&gt;
&lt;/div&gt;
&lt;pre&gt; 
&lt;?php // debug purposes only
          print_r($output); 
    ?&gt;
&lt;/pre&gt;


The form does not appear to render from the "drupal_render" line, however, the $output variable is most definitely full of something that looks very much like it might be a drupal form.

(it's a huge array filled with my form elements.  at parts it even manages to render some of the elements to page correctly).

Anyone with an idea of what I've missed?
Try:

&lt;?php print render(drupal_get_form('simple_nameform')); ?&gt;