Тёмный

CRUD: How to Update Data in Laravel - Part- 3/4 

Funda Of Web IT
Подписаться 66 тыс.
Просмотров 20 тыс.
50% 1

Here.. in this video.. its done that.. How to Edit and Update the Data into Database in laravel code , i.e without using any Model, Eloquent, or Table migration from your laravel application..
Its just pure.. like.. Ur using Blade file, Route and Controller and Setting ur .env file. Thats it.. DATA has been Updated in these things..

Опубликовано:

 

3 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 16   
@hankanguyenova1672
@hankanguyenova1672 3 года назад
Thank you so much!! This helped me a lot as the instruction was so detailed and step by step. Wish you all the best.
@songslover9307
@songslover9307 4 года назад
Thank you very Much sir, But Your video language Hindi very-very helpfully laravel understand
@gyatabajoe5357
@gyatabajoe5357 6 лет назад
thanks for your video tutorial...
@fundaofwebit
@fundaofwebit 6 лет назад
Welcome... Thanks for your Support.
@georgekokonya8892
@georgekokonya8892 4 года назад
Thank you
@sightskill904
@sightskill904 4 года назад
sir after click on update button i am getting this url but its not redirecting back to admin page and data is updating....here is the url laravel/laravel/public/admin/edituser/5?_token=YvG3gv9nSNBiU3TVtNZm9D7VQxHQcm4CHOSk9kEG&name=adminecera&email=admin%40yahoo.com here is my controller public function updatefunction(Request $request, $id) { $name=$request->input('name'); $email=$request->input('email'); DB::update('update users set name=?,email=? where id= ?',[$name,$email]); return redirect('admin.manage')->with('sucess','Data Updated') ;/*redirect to manage after udates sucess and Data update */ } Route::get('admin/edituser/{id}','ManageController@editfunction'); Route::post('admin/update/{id}','ManageController@updatefunction');
@razakhan3586
@razakhan3586 3 года назад
bro it showing me undefined variable in edit.blade.php
@tanvirhossenbappy8742
@tanvirhossenbappy8742 4 года назад
Sir I got an error (SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'where id =?, set emp_name = ?, emp_number = ?, emp_status = ?, emp_address = ?' at line 1 (SQL: update employee where id =1, set emp_name = Dhaka, emp_number = ?, emp_status = ?, emp_address = ?) but it cannt updated ..
@songslover9307
@songslover9307 4 года назад
same error my laravel function but I have to solved this error.
@riteshprajapati5512
@riteshprajapati5512 4 года назад
@@songslover9307 but u have not solved error clearly
@kishanmaurya4865
@kishanmaurya4865 5 лет назад
hi sir after updation ,it will not show student view record. please sir tell me ,how remove the error.
@fundaofwebit
@fundaofwebit 5 лет назад
What is the error ur getting ?. To view data... from controller. Take a correct variable. return view('urpage')->with('data',$data) Use in urpage with foreach loop. @foreach($data as $row) {{ $row->id }} @endforeach
@mohan2253
@mohan2253 4 года назад
@@fundaofwebit bro it is saying integrity constraint voilation 1048 column name cannot be null what could be solution bro??
@fundaofwebit
@fundaofwebit 4 года назад
Column name cannot be null.. Which means, your table column cannot be null. So, the input field you are passing to the table column in ur controller it's wrong or null.. So check the input has some value. and input name is correct Thank you.
@galaxyt9896
@galaxyt9896 Год назад
Can you plz give us github file
@galaxyt9896
@galaxyt9896 Год назад
On this vedio
Далее
CRUD: How to Delete Data in Laravel - Part - 4/4
10:04
Airpod Through Glass Trick! 😱 #shorts
00:19
Просмотров 2,3 млн
CRUD: How to Insert Data in Laravel - Part-1/4
22:57
Просмотров 12 тыс.
Laravel CRUD in 50 minutes for Beginners  from Scratch
49:58
Laravel 8 tutorial - Update Data in Database
10:42
Просмотров 68 тыс.
Solving one of PostgreSQL's biggest weaknesses.
17:12
Просмотров 198 тыс.
Laravel Tutorial For Beginners (Simple User CRUD App)
1:16:13