title: Drupal 6 passing variables from Forms to Content, how to?
body: <p>I created a BLOCK (left) with this simple form.
  Now I want to PROCESS and DISPLAY results on PAGE (center)
  How can I do it ?</p>
  
  <p>inputs:</p>
  
  <pre><code>name = James
  surname = Bond
  </code></pre>
  
  <p>output I want :</p>
  
  <pre><code>&lt;div style="color:red"&gt;Welcome, James Bond&lt;/div&gt;
  </code></pre>
  
  <p>here is a BLOCK which i wrote and works.</p>
  
  <pre><code>&lt;?php
  
  echo drupal_get_form('myForm');
  
  function myForm($form_state) {
   $form['name'] = array(
    '#type' =&gt; 'textfield',
    '#title' =&gt; t('Name'),
    '#size' =&gt; 20,
    '#maxlength' =&gt; 10
   );
   $form['surname'] = array(
    '#type' =&gt; 'textfield',
    '#title' =&gt; t('Surname'),
    '#size' =&gt; 20,
    '#maxlength' =&gt; 10
   );
   $form['submit'] = array(
    '#type' =&gt; 'submit',
    '#value' =&gt; t('Save')
   );
  return $form;
  }
  
  function myForm_submit($form,&amp;$form_state)
  {
   //??
  };
  </code></pre>
  
  <p>Now I need to display the output :). </p>
  
  <p>Please don't suggest to use VIEWS or any other addon. </p>
  
  <p>I want to learn Drupal from Inside out. Not the other way around ;)</p>