PHP: question about passing parameters in URL's

Posted by user248959 on Stack Overflow See other posts from Stack Overflow or by user248959
Published on 2010-04-17T15:58:50Z Indexed on 2010/04/17 16:03 UTC
Read the original article Hit count: 119

Filed under:
|
|

Hi,

i have this two lines:

  var_dump($parametros_post_signin);

  $this->redirect('prueba/aux?email='.$parametros_post_signin['signin']);

the first one prints this:

array
  'signin' => 
    array
      'email_address' => string '' (length=0)
      'password' => string '' (length=0)

the second one takes to another action where i have this code:

var_dump($request->getParameter('email'));

that prints this:

string 'password' (length=8)

I expected it to print something like this:

string '' (length=0)

What should i do to the get value of the 'email_address' field ?

Regards

Javi

© Stack Overflow or respective owner

Related posts about php

Related posts about url