Skip to content

Instantly share code, notes, and snippets.

@whitewhidow
Created February 27, 2013 11:36
Show Gist options
  • Save whitewhidow/5047302 to your computer and use it in GitHub Desktop.
Save whitewhidow/5047302 to your computer and use it in GitHub Desktop.
get GET & POST parameters symfony2
use Symfony\Component\HttpFoundation\Request;
public function someAction(Request $request)
{
$postData = $request->request->all();
$post_value = $postData['FIELDNAME'];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment