all request parameters in simple array


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. $array = array();
  2. foreach ($request->getParameterHolder()->getAll() as $key => $value)
  3. {
  4. $array[$key] = $value;
  5. }
  6.  
  7. var_dump($array);

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.