← prev | next →
emrullahayilmaz 2021-01-14 16:43:38
Siberfx 2021-01-14 17:17:01
aycayder 2021-01-14 15:28:29
Hello, does anyone know how can I get from parameter from database while I am using mail markdown?
you can use a __constructor and get it with or without parameters and apply it below.
Mohammed Alk 2021-01-14 17:19:55
Mohammed Alk 2021-01-14 17:20:34
Mohammed Alk 2021-01-14 17:19:55
is it ok to have two foreign key on a table ?
or it’s bad practice ?
Siberfx 2021-01-14 17:21:55
you can use but you have to set it proper to not to encounter something serious 🙂
Siberfx 2021-01-14 17:22:36
actually, I would prefer not to give this task to mysql side, but with an observer you can trigger dependencies of the event
Mohammed Alk 2021-01-14 17:25:53
Siberfx 2021-01-14 17:22:36
actually, I would prefer not to give this task to mysql side, but with an observer you can trigger dependencies of the event

Siberfx 2021-01-14 17:27:25
what is the logic that you want to do ? what you want to do and what you expect it happens ?
aycayder 2021-01-14 18:54:35
emrullahayilmaz 2021-01-14 16:42:28
you can create Any provider and add at config.php
Thank you🙏🏻
2021-01-14 19:33:55
I want to create a shopping cart but I ran into a problem can someone teach the link without the package I want to use
rootkings 2021-01-14 19:47:08
Hey guys, i have a litte question about Arrays. I have an array like that: $a = range(1, 100); I want to replaces each multiple of 4 by “hello”. The final output might be like this: 1,2,3,hello,5,6,7,hello … etc. How can i do that?
natghi2010 2021-01-14 19:55:11
rootkings 2021-01-14 19:47:08
Hey guys, i have a litte question about Arrays. I have an array like that: $a = range(1, 100); I want to replaces each multiple of 4 by “hello”. The final output might be like this: 1,2,3,hello,5,6,7,hello … etc. How can i do that?
$count = 0;
foreach($a as $number){
$a[$count] = typeOf($number/4) == ‘int’ ? ‘Hello’ : $number;
$count++;
}
natghi2010 2021-01-14 19:56:02
not sure on the syntax
natghi2010 2021-01-14 19:56:13
but the logic is there
rootkings 2021-01-14 19:56:24
trying now
DesolatorMagno 2021-01-14 19:56:53
Read about array_map.
natghi2010 2021-01-14 19:56:55
check what this returns ->typeOf
natghi2010 2021-01-14 19:57:06
DesolatorMagno 2021-01-14 19:56:53
Read about array_map.
okay
rootkings 2021-01-14 20:24:16
natghi2010 2021-01-14 19:55:11
$count = 0;
foreach($a as $number){
$a[$count] = typeOf($number/4) == ‘int’ ? ‘Hello’ : $number;
$count++;
}
Didnt work for me
natghi2010 2021-01-14 20:41:35
rootkings 2021-01-14 20:24:16
Didnt work for me
what was the error?
rootkings 2021-01-14 21:16:50
natghi2010 2021-01-14 20:41:35
what was the error?
Just change typeOf the gettype and not error
natghi2010 2021-01-14 21:21:05
rootkings 2021-01-14 21:16:50
Just change typeOf the gettype and not error
okay nice
rootkings 2021-01-14 21:55:36
natghi2010 2021-01-14 21:21:05
okay nice
But not work 😁
natghi2010 2021-01-14 21:55:46
rootkings 2021-01-14 21:55:36
But not work 😁
but why
rootkings 2021-01-14 21:55:47
I mean something wrong
Sandhya M 2021-01-15 09:02:10
Anybody knows how to load laravel project from xampp/htdocs/ folder in eclipse.
Peter 2021-01-15 10:13:52
Hi guys does anyone know the best way to monitor a particular page in laravel and maybe store the changes into a log file concluding the IP address where the changes was made from ….
JeevaniSM 2021-01-15 10:31:19
Sandhya M 2021-01-15 09:02:10
Anybody knows how to load laravel project from xampp/htdocs/ folder in eclipse.
You mean to open the laravel project folder in eclipse IDE ? It’s easier, add the folder , if you wanna run xampp with laravel, u need to setup the virtual hosts
Sandhya M 2021-01-15 11:01:48
Sandhya M:
You mean to open the laravel project folder in eclipse IDE ? It’s easier, add the folder , if you wanna run xampp with laravel, u need to setup the virtual hosts
Yes . I dont know how to setup virtual host? I am Trying using php composer project .
Ameerul Adib MZA 2021-01-15 11:50:23
anyone have worked with this google drive driver?
https://gist.github.com/sergomet/f234cc7a8351352170eb547cccd65011
i would like for my user to be able to use their own google drive.
the problem i have is, the driver use service provider. i couldn’t set the config to use user’s config by using controller or middleware since the service provider would kick in first before the middleware or controller could set in.
is there a way for me to make the service provider to use the current user’s config stored in my db?
Setup a Laravel Storage driver with Google Drive API –
GistSetup a Laravel Storage driver with Google Drive API – GoogleDriveServiceProvider.php
JeevaniSM 2021-01-15 12:18:41
Ameerul Adib MZA 2021-01-15 11:50:23
anyone have worked with this google drive driver?
https://gist.github.com/sergomet/f234cc7a8351352170eb547cccd65011
i would like for my user to be able to use their own google drive.
the problem i have is, the driver use service provider. i couldn’t set the config to use user’s config by using controller or middleware since the service provider would kick in first before the middleware or controller could set in.
is there a way for me to make the service provider to use the current user’s config stored in my db?
this seems interesting but google had a tendency to change their access approval in between- my Geary gmail app is no more working
Developingbots 2021-01-15 12:30:54
как могу использовать localization с помощью Vue js?
laravel 8
hypernxf 2021-01-15 13:16:03
Ameerul Adib MZA 2021-01-15 11:50:23
anyone have worked with this google drive driver?
https://gist.github.com/sergomet/f234cc7a8351352170eb547cccd65011
i would like for my user to be able to use their own google drive.
the problem i have is, the driver use service provider. i couldn’t set the config to use user’s config by using controller or middleware since the service provider would kick in first before the middleware or controller could set in.
is there a way for me to make the service provider to use the current user’s config stored in my db?
I didn’t use any lib./ I just create my own
hypernxf 2021-01-15 13:16:39
it’s not really that hard too. since it’s just RESTFUl API call
Rachidi 2021-01-15 13:17:36
← prev | next →