Laravel CRUD: Bootstrap Modal: Insert Data into Database (POP UP Modal)

  Рет қаралды 72,845

Funda Of Web IT

Funda Of Web IT

Күн бұрын

Пікірлер: 35
@beatrizalves3108
@beatrizalves3108 3 жыл бұрын
Best tutorial ever! I've been looking for this kind of content for a long time. Awesome!
@gorreon
@gorreon 5 ай бұрын
I'm just curious. If the inputs were wrong, or validated, wouldnt that close the modal?
@AmitKumar-un6so
@AmitKumar-un6so 3 жыл бұрын
Thanks a lot your teaching way is very impressive please make a video on data insert in bootstrap 4 datatable
@piotrkowalczak4270
@piotrkowalczak4270 2 жыл бұрын
Great tutorial, wish you all the best man :)
@carlogalola7826
@carlogalola7826 4 жыл бұрын
How about if you have multiple modal or with 'next' button to go to next modal and second modal have a save button
@savanrathod7943
@savanrathod7943 3 жыл бұрын
Route not working in laravel 8 it shows target class does not exist
@AmanMehra-z7b
@AmanMehra-z7b Жыл бұрын
i understand but one problem employee model confusion
@beatrizsilva1536
@beatrizsilva1536 3 жыл бұрын
Hi! can you help me? I need to create a session CRUD. I have to pass data from one form to another, and include this second form in the database ... Is it possible?
@samairaakhtar1690
@samairaakhtar1690 2 жыл бұрын
Sir plzzz ek aisa vdo bnaye jisme view click hone pr popup modal open ho or usme wk particular user ka Sara data display ho....
@hammadhassan2754
@hammadhassan2754 4 жыл бұрын
Undefined offset: 1 please how to solve this error?
@RHCIPHER
@RHCIPHER 4 жыл бұрын
in laravel 6 put action={{url('employee/create')}} only if you using Route::resource not get
@arczhar1204
@arczhar1204 4 жыл бұрын
Kinda weird everything form 1st video to this its all working except showing the modal form :( Why is this I just follow everything in the video :) does the version of laravel affect this?
@fundaofwebit
@fundaofwebit 4 жыл бұрын
Laravel version does not effect.. To work modal.. Include 1st jQuery.js 2nd bootstrap.js 3rd check your modal id from where your button name modal attribute shld match both as same.. Then it will work fine.
@arczhar1204
@arczhar1204 4 жыл бұрын
@@fundaofwebit The only modal does not pop up is the edit modal. When i click the button edit nothing appear, but when i click add data the add modal form pop up, i already triple check the code,jquery, bootstrap nothing wrong,all codes in the video working except showing the edit modal :( if i can only show the code here anyways i think my laptop has problem
@fundaofwebit
@fundaofwebit 4 жыл бұрын
When you click on edit btn using class... Check using alert('hello') that your script is working fine... After that check your form of modal id... N then come to ur script n then check your id is correct in your modal function.. Modal id="myeditmodal" $('#myeditmodal').modal('show');
@arczhar1204
@arczhar1204 4 жыл бұрын
@@fundaofwebit tried changing btn using alert is not working, here is the code Modal title × {{csrf_field() }} {{ method_field('PUT') }} First Name Last Name Address Mobile Close Update Data Laravel CRUD: with Bootstrap Modal @if(count($errors) > 0) @foreach ($errors->all() as $error) {{$error}} @endforeach @endif @if(\Session::has('success')) {{\Session::get('success') }} @endif Add Data ID First Name Last Name Address Mobile No. Action ID First Name Last Name Address Mobile No. Action @foreach ($emps as $empdata) {{ $empdata->id }} {{ $empdata->fname }} {{ $empdata->lname }} {{ $empdata->address }} {{ $empdata->mobile }} EDIT DELETE @endforeach $(document).ready(function () { var table = $('#datatable').DataTable(); //Start Edit Record table.on('click', 'edit', function () { $tr = $(this).closest('tr'); if ($($tr).hasClass('child')) { $tr = $tr.prev('.parent'); } var data = table.row($tr).data(); console.log(data); $('#fname').val(data[1]); $('#lname').val(data[2]); $('#address').val(data[3]); $('#mobile').val(data[4]); $('#editForm').attr('action','/employee/'+data[0]); $('#editModal').modal('show'); }); //End Edit Record }); i gues there is problem with the version of javascript, in your video the version 1.10.18 while im using 1.10.21
@SnakeErw98
@SnakeErw98 4 жыл бұрын
Thanks man, your video helped me a lot. Any way to donate you?
@fundaofwebit
@fundaofwebit 4 жыл бұрын
+918880202617 Google Pay/PayTm/phonepe.. UPI Money id: 8880202617@ybl PayPal: www.paypal.me/vedprakashn Website: fundaofwebit.com Thank you. Keep supporting.
@wacontreras
@wacontreras 4 жыл бұрын
Hi , Can you share the code please ?
@RHCIPHER
@RHCIPHER 4 жыл бұрын
guys i guess it's action '{{}} ' not action 'action=({{}}) ' it worked for me
@jason-bacalla
@jason-bacalla 4 жыл бұрын
this is from form action?
@pritipandya862
@pritipandya862 4 жыл бұрын
When i insert data success message in not shown to me
@umitcatal
@umitcatal 2 жыл бұрын
validation ?
@Pumhesho
@Pumhesho 5 жыл бұрын
Gracias por los cositos
@sibityson6619
@sibityson6619 3 жыл бұрын
i ma facing this Error 127.0.0.1:8000/['action'%20=%3E%20'App/Http/Controllers/MemberController@store'] this is in url and on page i face 404 not find please give me answer
@maulanadayat7831
@maulanadayat7831 4 жыл бұрын
Please add Link Github Project
@rabbihossain1086
@rabbihossain1086 3 жыл бұрын
thanks, sir.
@lukengirubiu6492
@lukengirubiu6492 4 жыл бұрын
Thanks much
@hello666sec2
@hello666sec2 3 жыл бұрын
woowwww its cool
@cengsemihsahin
@cengsemihsahin 3 жыл бұрын
THANKS
@rasulali4690
@rasulali4690 4 жыл бұрын
Boom!
@geoffvelasquez7700
@geoffvelasquez7700 3 жыл бұрын
oke
@elodia_pers3206
@elodia_pers3206 4 жыл бұрын
thanks
How it feels when u walk through first class
00:52
Adam W
Рет қаралды 24 МЛН
Как не носить с собой вещи
00:31
Miracle
Рет қаралды 894 М.
НАШЛА ДЕНЬГИ🙀@VERONIKAborsch
00:38
МишАня
Рет қаралды 2,8 МЛН
Kluster Duo #настольныеигры #boardgames #игры #games #настолки #настольные_игры
00:47
PHP CRUD: Bootstrap Modal: Edit and Update Data into Database in PHP
20:49
Laravel Image CRUD : How to insert image into database in laravel
23:31
Laravel CRUD: Bootstrap Modal: Fetch Data in Table (POP UP Modal)
12:17
MODAL CREATE IN LARAVEL (CRUD)
15:10
Coffee with Laravel
Рет қаралды 47 М.
06 -  Edit Data with Bootstrap Modal Window in Laravel 5 5
12:53
Code Inspire
Рет қаралды 51 М.
How it feels when u walk through first class
00:52
Adam W
Рет қаралды 24 МЛН