Retrieving GET and POST data inside controller in the basic requirement which should know everyone when we are working in any framework. In Laravel 4.x It is very easy to get "Get & Post" data.
Examples:
The Example for Get data is
$currentTab = Input::get('currentTab');
$setting = Input::get('setting');
The Example for Post data is
$result=$_POST['userdata'];
So By using Input::get & $_POST we are able to get and post data.
0 Comment(s)