silex passing form data to another page?
===

I'm really new to silex and symfony. This is my first foray into silex. I've got code that created my form in my app.php file from a little hacking and copying and pasting from documentation.

Now how do i pass this data to another page? 

I would like to create a page that just dumps the post/get array to give me an idea how to pass around get/post variables.

Here's part of my app file:

    <?php
    /** /src/app.php */
    use Symfony\Component\HttpFoundation\Request;
    use Symfony\Component\HttpFoundation\Response;
        
        /**
         * Register new application
         */
        $app = new Application();
        // skip to the form part ...
            $app->match('/', function (Request $request) use ($app) {
                // some default data for when the form is displayed the first time
                $data = array(
                    'name' => 'Your name',
                    'email' => 'Your email',
                );
            
                $form = $app['form.factory']->createBuilder('form', $data)
                    ->add('name')
                    ->add('email')
                    ->add('gender', 'choice', array(
                        'choices' => array(1 => 'male', 2 => 'female'),
                        'expanded' => true,
                    ))
                    ->getForm();
            
                if ('POST' == $request->getMethod()) {
                    $form->bindRequest($request);
            
                    if ($form->isValid()) {
                        $data = $form->getData();
            
                        // do something with the data
            
                        // redirect somewhere
                        return $app->redirect('completed');
                    }
                }
            
                // display the form
                return $app['twig']->render('index.html', array('form' => $form->createView()));
            });

Would i then create a page like so?

    <?php  // app.php  
        $app->match('complete') use function ($app) {
              // sorry psuedocode
             foreach ($REQUEST as $key=> $var) {
             echo "$key: $var";
             }
            }

