Who can help me with php?

|
imsus_k 2020-05-12 23:40:55
In controllers first check condition and then call with function to that user function name
imsus_k 2020-05-12 23:40:58
You will get
imsus_k 2020-05-12 23:41:03
Bez_Haile 2020-05-12 23:40:48
The hasMany, belongsTo are done

Nice

Bez_Haile 2020-05-12 23:41:10
Foreign key constraints are done
Bez_Haile 2020-05-12 23:42:24
imsus_k 2020-05-12 23:40:55
In controllers first check condition and then call with function to that user function name

Hey You got my question right?

Bez_Haile 2020-05-12 23:43:24
My problem is on the search result
imsus_k 2020-05-12 23:43:59
Bez_Haile 2020-05-12 23:42:24
Hey You got my question right?

So in controller first match with like operator then call model function

Bez_Haile 2020-05-12 23:45:49
imsus_k 2020-05-12 23:43:59
So in controller first match with like operator then call model function

Where(‘name’, ‘LIKE’, ‘%$keyword%’)

Like this right?

imsus_k 2020-05-12 23:46:05
Yeah
imsus_k 2020-05-12 23:46:15
Then follow method chaning
imsus_k 2020-05-12 23:46:20
Chaining
imsus_k 2020-05-12 23:46:31
Do step by step
imsus_k 2020-05-12 23:46:47
Call owners or users function and dump
imsus_k 2020-05-12 23:46:50
Check result
Bez_Haile 2020-05-12 23:48:38
Okay I’ll try it
imsus_k 2020-05-12 23:48:59
Okey😊
Bez_Haile 2020-05-12 23:50:28
does elastic search helps to manage this issue?
2020-05-13 06:16:19
Hello guys, could you help me ?
I have no idea, when I run route that has optional parameters, the page load slowly, and this text appears ‘Maximum execution time of 60 seconds exceeded’, idk if the problem from optional parameters itself or other, but when I ran other routes that haven’t optional parameters, the page load faster
How to make these routes faster? if the problems are from optional parameters
Ameerul Adib MZA 2020-05-13 06:47:12
2020-05-13 06:16:19
Hello guys, could you help me ?
I have no idea, when I run route that has optional parameters, the page load slowly, and this text appears ‘Maximum execution time of 60 seconds exceeded’, idk if the problem from optional parameters itself or other, but when I ran other routes that haven’t optional parameters, the page load faster
How to make these routes faster? if the problems are from optional parameters

i think it’s not the route problem. check your functions for any possible infinite loop. or at the very least, do dd() at the very start of the function to make sure the route you’re using enter the right function.

2020-05-13 06:53:07
dd()?
just like that?
DesolatorMagno 2020-05-13 06:56:29
You can simply make a return
Ameerul Adib MZA 2020-05-13 06:57:01
you could do dd(‘this is the right function’); and it will show the text in the page. if you can see the the text, that means you need to check your functions.
2020-05-13 06:59:12
oke, I got it
2020-05-13 06:59:48
Ameerul Adib MZA 2020-05-13 06:57:01
you could do dd(‘this is the right function’); and it will show the text in the page. if you can see the the text, that means you need to check your functions.

it works well

Ameerul Adib MZA 2020-05-13 07:01:10
2020-05-13 06:59:48
it works well

it’s doesn’t load long at all right? so check for potential infinite loop in the function.

2020-05-13 07:01:18
laravel_discuss-37182.jpg

2020-05-13 07:01:18
laravel_discuss-37181.jpg
but when i try to return to my user page,
this happened
DesolatorMagno 2020-05-13 07:01:26
You can either try to analize the code or move the dd or return further, until you get the error again.
2020-05-13 07:01:26
Ameerul Adib MZA 2020-05-13 07:01:10
it’s doesn’t load long at all right? so check for potential infinite loop in the function.

yes

DesolatorMagno 2020-05-13 07:02:02
You are using artisan serve?
2020-05-13 07:02:26
yes I am
DesolatorMagno 2020-05-13 07:02:53
it could be the app service if it affect several or all the views.
Redfoxsy 2020-05-13 09:38:22
Siberfx 2020-05-11 19:59:19
a sam otkuda bratan?

Братааааааан

sagar_dave_1997 2020-05-13 10:11:26
laravel_discuss-37191.jpg

sagar_dave_1997 2020-05-13 10:11:35
How to get decode data
skys215 2020-05-13 10:12:12
Redfoxsy 2020-05-13 09:38:22
Братааааааан

sorry, English group

flyingdragons 2020-05-13 10:12:56
sagar_dave_1997 2020-05-13 10:11:26

Loop the returned object

flyingdragons 2020-05-13 10:13:16
Send screen shot of your js. I can explain you more
sagar_dave_1997 2020-05-13 10:14:07
laravel_discuss-37196.jpg

kashinkojie 2020-05-13 10:37:36
Hai.. who can help me with php?
kashinkojie 2020-05-13 10:38:03
I need to pass value from first page to second page
Asish K Antony 2020-05-13 10:40:05
sagar_dave_1997 2020-05-13 10:11:26

Parse JSON

Asish K Antony 2020-05-13 10:43:29
Two bigincrements in payment table
only 1 is allowed
flyingdragons 2020-05-13 10:46:53
kashinkojie 2020-05-13 10:38:03
I need to pass value from first page to second page

Use session

Asish K Antony 2020-05-13 10:51:25
What is the error
skys215 2020-05-13 10:55:29
laravel_discuss-37212.jpg

skys215 2020-05-13 10:55:49
the second argument of integer is for autoIncrement, not for length
VimKanzo 2020-05-13 11:24:34
I’m able to generate the OTP, what I’m not sure about is if the OTP is being saved in the session because when I verify it says otp is not valid
VimKanzo 2020-05-13 11:24:34
I’m trying to setup an OTP generate and verify in laravel
VimKanzo 2020-05-13 11:25:07
Hello dev, please I need you brain on this
|