How to fetch multiple images to database in laravel?

|
Shreyashflutterdeveloper 2020-09-15 12:28:46
Sorry for that
aleemont 2020-09-15 12:38:52
GistOf 2020-09-15 09:02:46
Are you in SA?

No, I’m in Europe

aleemont 2020-09-15 12:40:24
….Rr 2020-09-15 12:12:00
need help in updating image public function edit(Post $post)
{
return view(‘admin.posts.edit’,[‘post’=>$post]);
}
public function update(Post $post)
{
$inputs = request()->validate([
‘title’=>’required|min:8|max:255’,
‘post_image’=>’file’,
‘body’=>’required’
]);
if(request(‘post-image’))
{
$inputs[‘post_image’]=request(‘post_image’)->store(‘images’);
$post->post_image=$inputs[‘post_image’];
}
$post->title = $inputs[‘title’];
$post->body=$inputs[‘body’];

$post->update();
// auth()->user()->posts()->save($post);
session()->flash(‘updated-message’,’Post was Updated’ .$inputs[‘title’]);
return redirect()->route(‘post.index’);
} this code only updates the title and body.

Don’t write code like that
Send a pastebin or similar please

Rajat Agrawal 2020-09-15 12:43:09
I am using dd method in laravel controller when i do ajax call but it is not working
Rajat Agrawal 2020-09-15 12:43:20
can anyone help
GistOf 2020-09-15 12:43:35
aleemont 2020-09-15 12:38:52
No, I’m in Europe

Check out Contabo. I’ve used them for a year. I’m happy so far

….Rr 2020-09-15 12:44:54
aleemont 2020-09-15 12:40:24
Don’t write code like that
Send a pastebin or similar please

laravel_discuss-51145.jpg

aleemont 2020-09-15 12:46:14
@mehrabjafari you are the owner of this group
Put some basic rules like

“Don’t send code in messages or in pictures of the screen, screenshot are allowed”

“To send code use pastebin or similat services”

“No spam, flood, gore, porn eccetera”

“Don’t claim to be answered, no one is being paid to do so”

And stuff like that

You can also add a couple of bots to manage the spam and flood eccetera

Rajat Agrawal 2020-09-15 12:53:15
some people do send pics taken from mobile because they cant use telegram web
aleemont 2020-09-15 12:55:46
Rajat Agrawal 2020-09-15 12:53:15
some people do send pics taken from mobile because they cant use telegram web

They can do a screenshot
Pass it on their phone
And send it

aleemont 2020-09-15 12:56:23
Or, a way easier thing:
Go to pastebin
Paste yout code
Share link
aleemont 2020-09-15 12:57:35
Pastebin.com – #1 paste tool since 2002!
https://pastebin.com/

Pastebin.com – #1 paste tool since 2002!Pastebin
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
aleemont 2020-09-15 13:00:00
aleemont 2020-09-15 12:46:14
@mehrabjafari you are the owner of this group
Put some basic rules like

“Don’t send code in messages or in pictures of the screen, screenshot are allowed”

“To send code use pastebin or similat services”

“No spam, flood, gore, porn eccetera”

“Don’t claim to be answered, no one is being paid to do so”

And stuff like that

You can also add a couple of bots to manage the spam and flood eccetera

@mehrabjafari if you don’t want to do this alone choose some moderators or admins
So they can help you

Rajat Agrawal 2020-09-15 13:16:04
aleemont 2020-09-15 12:57:35
Pastebin.com – #1 paste tool since 2002!
https://pastebin.com/

thanks i didn’t know this

aleemont 2020-09-15 14:07:56
Rajat Agrawal 2020-09-15 13:16:04
thanks i didn’t know this

Just paste your code
Set your preferences
Then click on “create new paste”
And then share the link in the url bar

Mr_Classy 2020-09-15 14:25:16
How to fetch multiple images to database in laravel ??
Mr_Classy 2020-09-15 14:25:27
Need help..!!
Jadidi_82 2020-09-15 14:45:59
Hi guys how can I send an amount into rating star in laravel
2020-09-15 16:08:04
Mr_Classy 2020-09-15 14:25:16
How to fetch multiple images to database in laravel ??

how you saved images

natghi2010 2020-09-15 16:21:36
Serious question, When is Laravel appreciation day?
Roham0010 2020-09-15 16:42:23
natghi2010 2020-09-15 16:21:36
Serious question, When is Laravel appreciation day?

laravel_discuss-51160.jpg
Laravel’s first beta release was made available on June 9, 2011

Roham0010 2020-09-15 16:42:37
Roham0010 2020-09-15 16:42:23
Laravel’s first beta release was made available on June 9, 2011

Poor laravel 😅

natghi2010 2020-09-15 16:42:52
Roham0010 2020-09-15 16:42:37
Poor laravel 😅

would have baked a cake 🙂

Roham0010 2020-09-15 16:43:06
Maybe it’s on first beta release 😁
Roham0010 2020-09-15 16:43:17
natghi2010 2020-09-15 16:42:52
would have baked a cake 🙂

That’s great 👍😁

natghi2010 2020-09-15 16:44:25
Roham0010 2020-09-15 16:43:17
That’s great 👍😁

but its probably the best serverside framework across the board

Bhuvi100 2020-09-15 16:44:39
natghi2010 2020-09-15 16:44:25
but its probably the best serverside framework across the board

+1

Roham0010 2020-09-15 16:46:17
natghi2010 2020-09-15 16:44:25
but its probably the best serverside framework across the board

I don’t know maybe

natghi2010 2020-09-15 16:46:44
Roham0010 2020-09-15 16:46:17
I don’t know maybe

no maybe, it is

Mr_Classy 2020-09-15 16:52:23
2020-09-15 16:08:04
how you saved images

Which means ?

Roham0010 2020-09-15 17:10:05
natghi2010 2020-09-15 16:46:44
no maybe, it is

😅👌
Django have more github stars 😜😅

natghi2010 2020-09-15 17:10:20
Roham0010 2020-09-15 17:10:05
😅👌
Django have more github stars 😜😅

Django is a bitch

natghi2010 2020-09-15 17:10:48
it cant be better than laravel
imhajiiii 2020-09-15 17:32:57
guys I have a problem, the verfication system of my text messages show “true” for every sms whereas I want it to show “true” only for the last sms how can I resolve the issue?
imhajiiii 2020-09-15 17:34:57
laravel_discuss-51175.jpg

Jadidi_82 2020-09-15 18:44:09
laravel_discuss-51181.jpg
Hi guys how can I send an amount into rating star in laravel
Bhuvi100 2020-09-15 18:50:16
Jadidi_82 2020-09-15 18:44:09
Hi guys how can I send an amount into rating star in laravel

What do you mean by that

Bhuvi100 2020-09-15 18:50:26
Explain clearly
Jadidi_82 2020-09-15 18:51:56
I wnat to set the average of the comments ratings to this rating
Jadidi_82 2020-09-15 18:53:18
I have calculated the Average of ratings and finally I want to set the Average of them to this stars
Bhuvi100 2020-09-15 18:53:58
Jadidi_82 2020-09-15 18:53:18
I have calculated the Average of ratings and finally I want to set the Average of them to this stars

So your radio button should be selected with the value of average stars right?

Jadidi_82 2020-09-15 18:54:14
right
Bhuvi100 2020-09-15 18:54:16
Did you rounded off your average stars?
Jadidi_82 2020-09-15 18:54:42
not still
DesolatorMagno 2020-09-15 18:55:32
why don’t you show the controller to see what you did to calculate average?
Jadidi_82 2020-09-15 18:55:36
but generally how to set those averages to this stars
Bhuvi100 2020-09-15 18:55:56
First round off the stars and use if statement in each radio button
Jadidi_82 2020-09-15 18:56:09
ok now I will send my controller
Bhuvi100 2020-09-15 18:56:49
Like this @if($product->rating_average===1) selected @endif
Bhuvi100 2020-09-15 18:57:18
Replace 1 with the value of the that radio button
|