Laravel 8 - How To Create Forms And Store Data Into Database

Поділитися
Вставка
  • Опубліковано 19 вер 2024
  • This lesson is a part of a free, online crash course on “Laravel 8”.
    Learn more by browsing our playlist: bit.ly/3kzRWE6
    What is Laravel? Laravel is a web application framework with an expressive, elegant syntax. Laravel attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as authentication, routing, sessions, and caching.
    Read more: bit.ly/2J3Wfty
    SUBSCRIBE to be notified when the next lesson is uploaded and to see more videos like these.
    Where else you can find me:
    INSTAGRAM: bit.ly/3mrxhmf
    FACEBOOK: bit.ly/2JpXQdj
    TWITTER: bit.ly/3sKvDQH
    LINKEDIN: bit.ly/39TmIny
    BUSINESS INQUIRIES:
    Please contact [vagefipouya@yahoo.com]
    Thanks for watching 
    #PeterAmo

КОМЕНТАРІ • 21

  • @shuraimgames
    @shuraimgames 5 місяців тому +2

    thank you peter

  • @KamskiStudio
    @KamskiStudio Рік тому +1

    Thank you for this tutorial, it was very helpful. I got an issue. I can't find my data base in the /phpmyadmin Data base is present as an element of the migration database.

  • @blanka6350
    @blanka6350 Рік тому

    Very helpful thank you

  • @MrHowtoinstall
    @MrHowtoinstall Рік тому

    Thank you ! Nice video tutorial!

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

    TY, best video!

  • @sterlex3923
    @sterlex3923 2 роки тому +2

    سلام بسیار عالی بود تشکر برنامه سروش رو دیدم فهمیدم ایرانی هستید

  • @Blue-gi7wk
    @Blue-gi7wk 2 роки тому +1

    Thank You so much .

  • @TechnologyInspiration
    @TechnologyInspiration Рік тому

    Thanks

  • @imenchabani4724
    @imenchabani4724 3 роки тому +1

    Hello, firstly thank you for your videos. I followed you're video and I have problem I get white screen without storing data in database. Hope you can help me in this. Thanks

    • @peteramo5329
      @peteramo5329  3 роки тому +1

      Hello my friend and sorry for the late reply. I couldn't check my UA-cam for a while. You should try *dd(request())* on *Route::post('/create',function(){* to check if data actually submits or not. Also, check the form Action to be set to *action="/create"* and you have this route on *web.php*

  • @krinzyjewaldo1697
    @krinzyjewaldo1697 Рік тому +1

    Nice

  • @tahasinmim8144
    @tahasinmim8144 2 роки тому

    I followed your command but when i give any input to the form it doesn't get into database and 404 not found is shown. Give me a solution please

  • @serifeelmali5760
    @serifeelmali5760 2 роки тому

    How can I add, a integer types value from form to databese. For example, I want to add price to database but price is integer

    • @peteramo5329
      @peteramo5329  2 роки тому

      Define the integer type for table structure in the DB, and for inserting number you don't need double quotations around it. Ex: *Article::create(['price' => 25]);*

  • @junaidellahi8488
    @junaidellahi8488 2 роки тому

    how do i do form validation for the input fields?

    • @peteramo5329
      @peteramo5329  2 роки тому

      ua-cam.com/video/eBo8xfCIauo/v-deo.html

  • @iStabbedASwordfish
    @iStabbedASwordfish 2 роки тому

    How does it know which table to go into

    • @peteramo5329
      @peteramo5329  2 роки тому +1

      In this example, the model Article is connected to *articles* table automatically. But you can define your custom table name by saying: *protected $table = ''
      'table_name';* at the model.

  • @sankarmaheshwarisankarmahe4949

    Hello sir form inserted nahi ho raha

  • @sankarmaheshwarisankarmahe4949

    Plz help me