Do I need to use the same code in all three places or just the route?

|
publicfunc 2022-02-11 12:38:26
publicfunc 2022-02-11 12:36:38
Even then there’s no GET defined anywhere. Is it possible maybe you put this address manually to the browser?

If you type the address manually to browser it’ll try to execute a GET request. That’s the only way I can think now in which you get this error.

Noob Developer 2022-02-11 12:39:22
What should I do for not type manually to the browser
Noob Developer 2022-02-11 12:39:33
I am fresher bro don’t have much knowledge
bryan_king 2022-02-11 13:14:20
Noob Developer 2022-02-11 12:19:51

https://laravel.com/docs/8.x/routing#form-method-spoofing

Laravel – The PHP Framework For Web ArtisansLaravel
Laravel is a PHP web application framework with expressive, elegant syntax. We’ve already laid the foundation — freeing you to create without sweating the small things.
Noob Developer 2022-02-11 13:27:26
Form done bro
Noob Developer 2022-02-11 13:27:39
Having issue with image update
BaronNo1 2022-02-11 13:31:18
Noob Developer 2022-02-11 13:27:39
Having issue with image update

What’s the problem?

Noob Developer 2022-02-11 13:32:09
Wait
BaronNo1 2022-02-11 13:33:28
Noob Developer 2022-02-11 13:32:09
Wait

Ok

Noob Developer 2022-02-11 13:47:21
laravel_discuss-107874.jpg

Noob Developer 2022-02-11 13:59:34
Anyone?
Noob Developer 2022-02-11 13:59:55
Know why only image not update
Siberfx 2022-02-11 14:35:53
destination path prefer to use public_path(‘image/’. $crudmodel->image)
Siberfx 2022-02-11 14:36:11
file exists function will work proper if the full file path is shown.
Baljeet Singh 2022-02-11 14:45:00
If you want to change your profile php developer to React or MERN Stack Developer.
So I am providing free training and support to help you to change your profile.
This is free training in HINDI only and you can change your job profile in just 3 month.

If you want to join this training then DM me to join my webnar on Saturday 9PM.

Anuj 2022-02-11 14:54:37
If mobile team implement a socialite
Anuj 2022-02-11 14:54:52
So what parameter they provide me
Anuj 2022-02-11 14:55:05
Is whole information of user
Anuj 2022-02-11 14:55:23
Anuj 2022-02-11 14:54:52
So what parameter they provide me

In postman

Jun Ben 2022-02-11 16:07:44
Hello po is this the group for casino agent
WEBLYSS SOFTWARE 2022-02-11 16:28:26
HI,ANYONE INTERESTED FOR OWN DOMAIN BASED GMAIL ACCOUNT/ OFFICE 365 (BUSINESS/PROFESSIONAL EMAIL,30 GB SPACE) IN A DISCOUNTED COST. PLS PM OR CALL +918763609732/SALES@WEBLYSS.COM ( ONLY SERIOUS INQUIRY PLS),THANK YOU.
ForgeDark 2022-02-11 17:33:22
CPANEL IS NEEDED VS BTC
marcosjoao_btu 2022-02-11 17:57:26
bsamaasi 2022-02-11 04:10:49
Use model slug while defining route….

e.g: “posts/{post:slug}”

Thanks Benson, I will try

SIVASIVA 2022-02-11 18:20:25
GitHub – Devinterview-io/oop-interview-questions: 🟣 OOP Interview Questions Answered to help you get ready for your next developer interview.
https://github.com/Devinterview-io/oop-interview-questions

GitHub – Devinterview-io/oop-interview-questions: 🟣 OOP Interview Questions Answered to help you get ready for your next developer interview.GitHub
🟣 OOP Interview Questions Answered to help you get ready for your next developer interview. – GitHub – Devinterview-io/oop-interview-questions: 🟣 OOP Interview Questions Answered to help you get re…
Edifice_Solutions 2022-02-11 18:29:09
Hi,, I’m building a chat system,, I want to create a sound notification at the receiving end when ever a message is sent,,, how can I achieve this thanks,, making use of laravel 7
marcosjoao_btu 2022-02-11 18:31:32
bsamaasi 2022-02-11 04:10:49
Use model slug while defining route….

e.g: “posts/{post:slug}”

Benson the 404 error persists.

marcosjoao_btu 2022-02-11 18:31:42
Do I need to use the same code in all three places or just the route?

The route
Route::get(“/imoveis/{imovel:slug}”, [ImovelController::class, ‘show’])->name(‘imoveis.show’);

The link:
href=”{{route(‘imoveis.show’, “$imovel->id”)}}”

The return in controller:
return view(‘imoveis.show));

bsamaasi 2022-02-11 18:38:32
marcosjoao_btu 2022-02-11 18:31:42
Do I need to use the same code in all three places or just the route?

The route
Route::get(“/imoveis/{imovel:slug}”, [ImovelController::class, ‘show’])->name(‘imoveis.show’);

The link:
href=”{{route(‘imoveis.show’, “$imovel->id”)}}”

The return in controller:
return view(‘imoveis.show));

The link do not look valid to me…

marcosjoao_btu 2022-02-11 18:38:59
ok it is without “”
marcosjoao_btu 2022-02-11 18:39:27
I wrote it wrong
bsamaasi 2022-02-11 18:39:48
bsamaasi 2022-02-11 18:38:32
The link do not look valid to me…

Why the object in quote “$imovel->id”

marcosjoao_btu 2022-02-11 18:40:16
I wrote it wrong its without cote
bsamaasi 2022-02-11 18:40:19
Can I also see your controller show method screenshot
marcosjoao_btu 2022-02-11 18:40:38
yes only a minut
marcosjoao_btu 2022-02-11 18:48:20
laravel_discuss-107900.jpg

|