Why dont you google it first?

|
jumzeey 2021-08-19 01:01:34
Okay
ProAbdulrahman 2021-08-19 01:50:50
Hi
What the “clever programmer”
paint too in screen ?
Vccccgg 2021-08-19 05:14:02
hi guys , 1 question please, When I upload an image I got this message
Vccccgg 2021-08-19 05:14:17
this is the setting I’ve done , could someone help me ? . I’m trying to upload the image to S3
Vccccgg 2021-08-19 05:14:30
laravel_discuss-92078.jpg

JagsDew 2021-08-19 05:27:08
How can I find the difference between two dates in mysql table fields and pass into laravel pages.
Rahul Kothari 2021-08-19 09:45:19
laravel_discuss-92085.jpg

Rahul Kothari 2021-08-19 09:45:30
Hi I want single value in survey count but I got multiple value
S 2021-08-19 10:17:19
How to call all APIs in home page
S 2021-08-19 10:35:10
Page controller
JeevaniSM 2021-08-19 13:24:00
Vccccgg 2021-08-19 05:14:30

cleary says the error 500 error, you need to check the error log and look what went wrong

JeevaniSM 2021-08-19 13:25:31
S 2021-08-19 10:17:19
How to call all APIs in home page

Please explain questions in a way that we can understand
1. the situation
2. what you have done so far
3. the actual question

https://stackoverflow.com/help/how-to-ask

How do I ask a good question? – Help CenterStack Overflow
Stack Overflow | The World’s Largest Online Community for Developers
EI 2021-08-19 13:26:24
Please how do I catch error of duplicate data when my column is unique
JeevaniSM 2021-08-19 13:26:25
JagsDew 2021-08-19 05:27:08
How can I find the difference between two dates in mysql table fields and pass into laravel pages.

laravel_discuss-92095.jpg
why dont you google it first ?

JeevaniSM 2021-08-19 13:30:19
EI 2021-08-19 13:26:24
Please how do I catch error of duplicate data when my column is unique

your DB does it for you

EI 2021-08-19 13:36:37
Yh…the DB prevents entry of duplicate data, but Laravel will throw an error which I don’t want an error to be displayed…

For example for signup…if there’s a duplicate mail…it will prompt the user rather than showing an error.
How do I implement that for other input field

EI 2021-08-19 13:37:04
JeevaniSM 2021-08-19 13:30:19
your DB does it for you

Yh…the DB prevents entry of duplicate data, but Laravel will throw an error which I don’t want an error to be displayed…

For example for signup…if there’s a duplicate mail…it will prompt the user rather than showing an error.
How do I implement that for other input field

Bhavyakumar Panchotiya 2021-08-19 14:21:19
I want to add validation using Javascript in Laravel …but I don’t know how to use javascript in Laravel…is there any package for Laravel validation?
EI 2021-08-19 14:22:07
Bhavyakumar Panchotiya 2021-08-19 14:21:19
I want to add validation using Javascript in Laravel …but I don’t know how to use javascript in Laravel…is there any package for Laravel validation?

Anyone…I just want a solution sir

foulla_sam 2021-08-19 14:37:00
Hi artisans
I’m trying to install Chartjs using npm. But I don’t know what to do after typing the command given in the documentation. What am I suppose to do in the app.js or bootstrap before running npm run dev command.
Any help will be appreciate.
foulla_sam 2021-08-19 14:39:57
laravel_discuss-92104.jpg
The documentation
hulviseth 2021-08-19 14:51:12
public function UserPasswordChange(Request $request)
{
$validateDate = $request->validate([
‘oldpassword’ => ‘required’,
‘password’ => ‘required|confirmed’,
]);
$hashedPassword=Auth::user()->password;

//why this point not working if (Hash::check($request->oldpassword,$hashedPassword)){

$user=User::find(Auth::id());
$user->password = Hash::make($request->password);
$user->save();
Auth::logout();
return redirect()->route(‘login’);
}else{
return redirect()->back();
}
}

JeevaniSM 2021-08-19 15:04:18
EI 2021-08-19 13:36:37
Yh…the DB prevents entry of duplicate data, but Laravel will throw an error which I don’t want an error to be displayed…

For example for signup…if there’s a duplicate mail…it will prompt the user rather than showing an error.
How do I implement that for other input field

you need to write the logic inside the try / catch with in Laravel . obviously you get the response from mySQL, you pick the response in a codeblock and pass to the view and display it .

EI 2021-08-19 15:04:48
Alright sir. Thanks.
JeevaniSM 2021-08-19 15:05:07
EI 2021-08-19 15:04:48
Alright sir. Thanks.

please dont Sir me 🙂 I am newbie too

EI 2021-08-19 15:05:49
Please check your dm
JeevaniSM 2021-08-19 15:06:19
Bhavyakumar Panchotiya 2021-08-19 14:21:19
I want to add validation using Javascript in Laravel …but I don’t know how to use javascript in Laravel…is there any package for Laravel validation?

https://inertiajs.com/

Inertia.js – The Modern MonolithInertiajs
Inertia.js lets you quickly build modern single-page React, Vue and Svelte apps using classic server-side routing and controllers.
EI 2021-08-19 15:19:54
JeevaniSM 2021-08-19 15:04:18
you need to write the logic inside the try / catch with in Laravel . obviously you get the response from mySQL, you pick the response in a codeblock and pass to the view and display it .

Thanks it worked

AsadbekXalimjonov 2021-08-19 15:27:30
https://laracasts.com/discuss/channels/eloquent/collection-map-mapwithkeys help this quesion
Bahobeli 2021-08-19 15:43:08
laravel_discuss-92114.jpg

Bahobeli 2021-08-19 15:43:20
How I fix
sticky98 2021-08-19 15:53:15
hi guys, just wanna ask do still use kendo UI?
natghi2010 2021-08-19 16:15:24
This is the wrong approach
natghi2010 2021-08-19 16:16:02
You are using logic on the routes
hulviseth 2021-08-19 16:20:07
natghi2010 2021-08-19 16:16:02
You are using logic on the routes

what you mean? this check old password and new password it same or not but on block if not true

|