Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Retrieving GET and POST data inside controller in Laravel 4

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 464
    Comment on it

    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)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: