Plz check my update code it is right?

|
Sai Prakash 2022-02-16 08:13:10
laravel_discuss-108441.jpg

Sai Prakash 2022-02-16 08:13:40
This is not displaying as we have selected in dropdown instead showing the last value from the list
Sai Prakash 2022-02-16 08:14:40
Please help me anyone
Sai Prakash 2022-02-16 08:14:52
Please reply
natghi2010 2022-02-16 09:00:54
Sai Prakash 2022-02-16 08:14:52
Please reply

Question unclear

Noob Developer 2022-02-16 09:33:33
Why not able to show value in edit page
Noob Developer 2022-02-16 09:33:45
Even code is right
Noob Developer 2022-02-16 09:35:53
laravel_discuss-108452.jpg

Noob Developer 2022-02-16 09:35:53
laravel_discuss-108451.jpg

Noob Developer 2022-02-16 09:35:54
laravel_discuss-108453.jpg

Noob Developer 2022-02-16 09:38:47
laravel_discuss-108454.jpg

Noob Developer 2022-02-16 09:38:58
No value display
HamidRoohani 2022-02-16 09:43:31
Noob Developer 2022-02-16 09:38:58
No value display

In your Edit method, the ctudmodel is a ID , and it’s not a object
before compact and pass to view, you must write a query and get it

HamidRoohani 2022-02-16 09:44:01
CrudModel::findOrFail($crudmodel);
Noob Developer 2022-02-16 09:44:35
Ok
Noob Developer 2022-02-16 09:46:11
I did and it work
Noob Developer 2022-02-16 09:46:22
Plz check my update code it is right??
BaronNo1 2022-02-16 09:46:28
Noob Developer 2022-02-16 09:46:11
I did and it work

Cool

Noob Developer 2022-02-16 09:46:51
When I update value give me 404 not found
Noob Developer 2022-02-16 09:47:17
When I solve one then another error generate 😂
BaronNo1 2022-02-16 09:47:49
Noob Developer 2022-02-16 09:47:17
When I solve one then another error generate 😂

Problem never ends, that’s life man.

Noob Developer 2022-02-16 09:48:04
Yes 😂
bsamaasi 2022-02-16 09:48:06
anil99091 2022-02-16 07:45:30
On editpage.blade.php …line no. 20… See you are trying to get id from some varibale..

Which variable may be undefined

The variable may be defined but not found in an object, sometimes might be an array.

Noob Developer 2022-02-16 09:48:26
Noob Developer 2022-02-16 09:46:51
When I update value give me 404 not found

Can help me in this

Noob Developer 2022-02-16 09:48:40
Why this happened even don’t show error and say 404
Noob Developer 2022-02-16 09:48:51
Not found
BaronNo1 2022-02-16 09:49:10
Send screenshot, I don’t seem to understand.
Noob Developer 2022-02-16 09:49:58
Ok
Noob Developer 2022-02-16 09:50:09
Of code or error
Noob Developer 2022-02-16 09:51:33
laravel_discuss-108475.jpg

Noob Developer 2022-02-16 09:51:33
laravel_discuss-108474.jpg

Noob Developer 2022-02-16 09:51:34
laravel_discuss-108476.jpg

Noob Developer 2022-02-16 09:51:48
See
2022-02-16 09:55:05
Hi I am beginner of laravel, anyone plz help me
bsamaasi 2022-02-16 09:58:20
2022-02-16 09:55:05
Hi I am beginner of laravel, anyone plz help me

Learn from this course: https://laracasts.com/series/laravel-8-from-scratch

It is a free course, then read documentation you will good in no time.

Laravel 8 From ScratchLaracasts
We don’t learn tools for the sake of learning tools. Instead, we learn them because they help us accomplish a particular goal. With that in mind, in this series, we’ll use the common desire for a blog – with categories, tags, comments, email notifications, and more – as our goal. Laravel will be the tool that helps us get there. Each lesson, geared toward newcomers to Laravel, will provide instructions and techniques that will get you to the finish line.

This version of our popular Laravel From Scratch series was recorded in 2021, and uses Laravel 8.

|