Laravel Form submission | Laravel 10 Tutorial #10

Поділитися
Вставка
  • Опубліковано 19 вер 2024
  • Laravel 10 Blade tutorial
    In this video, we're going to create a form submission in Laravel 10. We'll create a simple form to submit data to a server, and how to redirect users back to any route or url we want.
    If you're new to Laravel and want to learn some of the basics, then this video is for you! In this video, we'll cover the basics of working with models and database records in Laravel, and help you get started with your own projects.
    Playlist of Laravel 10 made easy Course :
    • Laravel 10 Beginners C...
    What is Laravel :
    Laravel is a free and open-source PHP web framework, created by Taylor Otwell and intended for the development of web applications following the model-view-controller architectural pattern and based on Symfony.
    en.wikipedia.o...
    If you have any questions or problems please leave a comment.
    Laravel Blade
    Laravel crash course
    Laravel Database and crud tutorial

КОМЕНТАРІ • 15

  • @mattveym87
    @mattveym87 8 місяців тому +4

    i am new to laravel and object oriented programming and thanks to you i am able to learn important stuff while creating a project!

    • @yelocode
      @yelocode  8 місяців тому

      Glad I could help!

  • @tmcxp
    @tmcxp 7 місяців тому +2

    it's all coming together! very fun teaching method

  • @kouzokiodin3623
    @kouzokiodin3623 3 місяці тому +1

    Well Explained thx

  • @kadirertan8664
    @kadirertan8664 6 місяців тому +3

    Great video! redirect()->back() can be used as redirect()->route("dashboard") in this situation.

    • @RustyPack-fm2gi
      @RustyPack-fm2gi 5 місяців тому

      or use to_route() its convenient though

  • @bomingyu7247
    @bomingyu7247 11 місяців тому +4

    I love your video man!

    • @yelocode
      @yelocode  11 місяців тому

      Thanks for watching.

  • @Xtapodi27
    @Xtapodi27 7 місяців тому +1

    In the video, didn't you forget to add a name field "idea" in your textarea by any chance? In my code it coudn't work without it. Thank you!

    • @yelocode
      @yelocode  7 місяців тому

      I think this is something we fix in the upcoming videos

  • @nguynthhng1
    @nguynthhng1 5 місяців тому

    why didn't you use the concept "component" in your project? I have to find a another Laravel tutorial playlist to learn more about it. Sorry for my bad English, its not my mother language

  • @zadulhassan7438
    @zadulhassan7438 4 місяці тому +1

    Hi there. Here is my Model Class:

    • @minhphou
      @minhphou 2 місяці тому

      You can add (use App/Models/Idea;) into IdeaController

  • @francodosha
    @francodosha Місяць тому

    I'm following this tutorial with laravel 11 so you will encounter an error on the IdeaController and the solution is
    public function store(Request $request)
    {
    $idea = new Idea([
    "content" => $request->get('idea', ' '),
    ]);
    $idea->save();
    return redirect()->route('dashboard');
    }
    }
    'request()-> get' doesn't work anymore in laravel 11

    • @nachobechi5003
      @nachobechi5003 Місяць тому

      Really? For me it worked like the video