In installed some plugins, is there any specific plugin for this?

|
Siberfx 2020-06-01 22:45:55
i will try to not to pay attention such questionaries
2020-06-01 22:56:30
Yep, don’t get bothered, if questions has not proper information, just skip or take one step to show what needed.
2020-06-01 22:57:25
Not ~show~, Ask*
AngelGoitia 2020-06-01 23:43:43
laravel_discuss-39683.jpg
Add groupBy(‘lead_id’) show me this error
Roham0010 2020-06-01 23:45:52
AngelGoitia 2020-06-01 23:43:43
Add groupBy(‘lead_id’) show me this error

set strict to false in config/database mysql section

2020-06-02 00:38:57
Good morning all, I have problem about function, I plan make custom function for calculate average, but my source code error.
Maybe other people can give solution…
2020-06-02 00:39:29
laravel_discuss-39687.jpg
Name function “test”
2020-06-02 00:39:52
And result, like this…
2020-06-02 00:40:14
laravel_discuss-39689.jpg

2020-06-02 00:40:29
Thanks…
2020-06-02 00:42:04
Because I’m start learn laravel
Bittle 2020-06-02 01:01:40
2020-06-02 00:40:14

Error is self explanatory, youre dividing by 0.

#/0 is not allowed.

So $hitung is 0 when it reaches like 34.

Bittle 2020-06-02 01:02:59
The only way $hitung would be 0 is if its not incremented in the loop (the loop doesn’t run). So $this->mapel is empty
prime 2020-06-02 05:59:34
//for multiple images upload and resizing
if ($request->hasFile(‘images’)) {
foreach ($request->file(‘images’) as $image) {
$original= $request->file($image);
$thumbnail = Image::make($original);

// Define upload path
$thumbnailPath = public_path(‘/storage/public/storage/thumbnail2/’);
$originalPath = public_path(‘/storage/storage/’);

// Save Orginal Image
$thumbnail->save($originalPath.time().$original->getClientOriginalName());

// Resize and save image
$thumbnail->resize(259,194,function($constraint){
$constraint->aspectRatio();
});
$thumbnail->save($thumbnailPath.time().$original->getClientOriginalName());

// Save In Database

$data[]=time().$original->getClientOriginalName();
}
}

$post = new Post;
$post->images= json_encode($data);

Dc1sc0 2020-06-02 06:00:38
2020-06-02 00:42:04
Because I’m start learn laravel

divizion in cero

no resolved. error

prime 2020-06-02 06:00:43
that is my code but isn’t working ….. i what is seems to be a problem..? i need help
Dc1sc0 2020-06-02 06:01:14
error ?
Dc1sc0 2020-06-02 06:01:42
What’s your mistake
prime 2020-06-02 06:01:49
it gives no error… but not working..
Dc1sc0 2020-06-02 06:02:58
Do you want to save images?
prime 2020-06-02 06:03:32
yaap in database…
Dc1sc0 2020-06-02 06:04:19
in saved database is the path or name, and the file on the server
Dc1sc0 2020-06-02 06:04:30
Is the best option
prime 2020-06-02 06:06:12
so what is wrong with the code..?
Dc1sc0 2020-06-02 06:07:37
laravel?
prime 2020-06-02 06:08:11
yaaap
prime 2020-06-02 06:13:45
laravel_discuss-39712.jpg

prime 2020-06-02 06:14:40
now i get that πŸ‘† error
Dc1sc0 2020-06-02 06:15:41
break; ??
Dc1sc0 2020-06-02 06:16:26
that means that it does not enter in any of the cases.

You are missing a break right?

prime 2020-06-02 06:17:49
yaap i guess soo
Dc1sc0 2020-06-02 06:19:59
http://image.intervention.io/
prime 2020-06-02 06:20:52
can you guide me though this…. b’se i want to resize multiple images before uploading to the database …and am using intervention image…..
Dc1sc0 2020-06-02 06:22:31
yeah
Dc1sc0 2020-06-02 06:24:10
laravel_discuss-39721.jpg

Dc1sc0 2020-06-02 06:24:23
example resize image
prime 2020-06-02 07:09:32
Dc1sc0 2020-06-02 06:24:10

for sing image it worked…. but i tried to wrap it with foreach loop and add some codes so as to manipulate multiple images (array of images) …isn’t working…

Dc1sc0 2020-06-02 07:33:53
prime 2020-06-02 07:09:32
for sing image it worked…. but i tried to wrap it with foreach loop and add some codes so as to manipulate multiple images (array of images) …isn’t working…

Hmm code?

2020-06-02 08:03:57
hello here! Just a aob

Anyone who needs dstv premium accounts u can inbox me for more info !

Epl and other leagues are back dont miss

epl return first crash;
πŸ”₯Mancity vs arsenal πŸ”₯

πŸ‘

Z_Yamin 2020-06-02 08:13:12
is ther any way to compact a variable with below code?:
return array(
‘content’ => ‘content’,
‘url’ => route(‘admin.questionPackage.form’),
);
Z_Yamin 2020-06-02 09:32:47
laravel_discuss-39729.jpg
how to soleve this proble in phpstore in web.php
lmboom 2020-06-02 09:34:15
Z_Yamin 2020-06-02 09:32:47
how to soleve this proble in phpstore in web.php

install plugins

Z_Yamin 2020-06-02 09:35:03
lmboom 2020-06-02 09:34:15
install plugins

in installed some plugins, is there any specific plugin for this?

lmboom 2020-06-02 09:36:52
Z_Yamin 2020-06-02 09:35:03
in installed some plugins, is there any specific plugin for this?

https://confluence.jetbrains.com/display/PhpStorm/Laravel+Development+using+PhpStorm try this one

Siberfx 2020-06-02 12:34:17
Z_Yamin 2020-06-02 09:32:47
how to soleve this proble in phpstore in web.php

ide-helper

Siberfx 2020-06-02 12:34:47
Z_Yamin 2020-06-02 09:35:03
in installed some plugins, is there any specific plugin for this?

Then run php artisan ide-helper:meta

prabhjd 2020-06-02 12:54:18
laravel_discuss-39739.jpg
How to shift this into middle? Anyone good in css ?
victorvolkov 2020-06-02 13:01:28
.thisshit { margin: 0 auto; }
devink0430 2020-06-02 14:16:18
display: flex;
align-content: center;
align-items: center;
this ?
mmohitssingla 2020-06-02 14:48:23
Anyone has used firestore with laravel ?
|