Update Query in Laravel using Eloquent ORM | Explained in Hindi | Laravel 8 Tutorial #17

preview_player
Показать описание
In this video, We are explaining about Update Query in Laravel using Eloquent ORM (New Laravel Course 2021 🔥). Please do watch the complete video for in-depth information.

WsCubeTech – Digital Marketing Agency & Institute.

✔ We can help you to create a Digital Marketing plan to take your business to new heights.
✔ Offering Job Oriented Most Latest, Updated, and advanced Digital Marketing Courses with Practical, Hands-on Live Projects Training & Exposure.
For More information : Call us at : +91- 92696-98122

There is a complete playlist of Digital Marketing Interview Tips & Tricks available -

There is a complete playlist of Facebook Ads available -

There is a complete playlist of Twitter Ads available.

✅ CONNECT WITH THE FOUNDER (Mr. Kushagra Bhatia) -

Please don’t forget to Like, Share & Subscribe

--------------------------------------| Thanks |---------------------------
#Laravel8 #EloquentORM #Laravel8UpdateQuery
Рекомендации по теме
Комментарии
Автор

😎Hey, thanks for watching! We’d love to know your thoughts/doubts here in the comments.

wscubetech
Автор

Solution:
public function create()
{
$url = url('customer');
$customer=new Customer();
$title='Customer Registration';
$data=compact('url', 'title', 'customer');
return

}

smohanty
Автор

Hey, Thanks for Update Query Video!

In this Video Update Query Successfully Called
but into Laravel 11when Add New Customer then it's generate error inside all input filled into Register Form:
( Undefined variable $customer )

JaypalDhoriya-fu
Автор

$customer undefined error is resolved, just by defining & passing $customer variable as follows :
$url = url('customer/store');
$customer=new Customer();
$title='Customer Registration';
$data=compact('url', 'title', 'customer');
return

thakchandthombre
Автор

sir is video me update page ke liye aapne value = " {{$customer->name}}" dale hai but jab yeh add cusmer ka page me open hoga to $ customer not find araha hai

yahyashaikh
Автор

After set value I can't go to add customer page. It says, Undefined variable $customer

mdsayfulislam
Автор

those who are getting are of undefined variable:
For normal input fields:
<input type="text" class="form-control" name="customer_name"
And for select fields
<select class="form-select" aria-label="Gender" name="customer_gender">
<option value="M"
{{ $customer>customer_gender == 'M' ? 'selected' : '' }}
@endisset >M</option>
<option value="F"
{{ $customer->customer_gender == 'F' ? 'selected' : ''}}
@endisset >F</option>
<option value="O"
{{ $customer->customer_gender == 'O' ? 'selected' : '' }}
@endisset >O</option>
</select>
for radio replace "selected" with "checked"

moeezahmad
Автор

Sir, when we click on add customer is ask me $customer is undefined. how to resolve. I suppose to be @isset($customer) then form declare and when not set only simple form will declare. please reply.

makeauthority
Автор

sir update k time humne input ki value property change kar diye, pichle video me aapne old() k through data set karna batay they, ab usko kaise set karenge?

GopalKumar-ntzt
Автор

hello sir, how can we inline update data in table without using model in Laravel 8. Just click on edit button and all field convert into input field and edit button replace with update button and update the data.

mrsingh
Автор

button ke click pr update function kaise call ho rha hai ??

karishmasharma
Автор

#wscubetech bro playlist bnany k baad kindly students k issue b resolve kr dein

afzaalahmad
Автор

Whenever i update, there is an error " Undefined variable $customer"
But database is updated ...
What should i do, , please help me...🙏

biplabsarkar
Автор

Create Custom page give an error $customer variable is not defined

SoniYadav-nkmg
Автор

Sir you use same page for create customer and update customer.
I update customer it work perfect but when i add new customer then it generate errors of unfriend variable that variables that you use in input tags for update customer
So what i do

ayazaamur
Автор

I need this template that is using in this video

HamzaIsmail-hn
Автор

What will happen if you again go for adding a new customer?

I think we will get an error because $customer is not recognised now.
We have $customer only when coming for update, but we do not have when coming for registration.

AbdulAjijAnsari-mi
Автор

Sir there is undefined variable error arrives in customer/create page after passing value="{{$customer->name}}"

saqibkhan
Автор

how to pass the value using the component in the php

kamalthapa
Автор

how to redirect After update some info, return to current paginated page laravel 10 ?

NIKHILSCI-tg