In a method how can I return response and download file then reload the page?

|
ednanhossain 2019-08-28 16:51:35
In a method how can I return response and download file then reload the page?

return Response::download($file, $reference_number . ‘.png’, $headers);

ednanhossain 2019-08-28 17:10:31
laravel_discuss-11946.jpg

ednanhossain 2019-08-28 17:10:50
I want to force reload the same page
ednanhossain 2019-08-28 17:12:34
Client side also not alowing to reload as it’s using iframe
ednanhossain 2019-08-28 17:22:08
I know but why? Due to my last message?
ednanhossain 2019-08-28 17:23:01
😉
EdcbaoO 2019-08-28 18:44:03
Guys.. Is there someone who wants to practice this course with me.. I am a beginner and having friends would be encouraging

How to Build a Blog with Laravel – YouTubeYouTube
2019-08-28 19:24:32
laravel_discuss-11959.jpg
i have a problem
2019-08-28 19:27:26
laravel_discuss-11961.jpg

2019-08-28 19:27:52
{{$article->id}} is not work
2019-08-28 19:28:55
laravel_discuss-11966.jpg
down is worked
2019-08-28 19:29:11
up not worked
2019-08-28 19:29:15
why?
2019-08-28 19:29:47
laravel_discuss-11973.jpg

2019-08-28 19:31:53
href=”/article/{{ $article->id }}/edit” ?
heybehappy 2019-08-28 19:34:59
Samih when you put articles to foreach structure it only works within brackets {} of foreach not before, not after of this brackets: foreach($articles as $article) {//only here works!}
heybehappy 2019-08-28 19:37:08
or
@foreach ($articles as $article)
//only here works!
@endforeach
zack6849 2019-08-28 19:50:12
Hehehe
zack6849 2019-08-28 19:55:02
It is… You’re trying to access article outside of a scope in which article exists
zack6849 2019-08-28 19:55:18
It doesn’t know what article is there because article only exists inside the loop
zack6849 2019-08-28 19:55:26
This is basic loops, in any language
zack6849 2019-08-28 19:56:17
You might wanna try the larachat slack Sam, there’s an awful lot of low quality questions here
zack6849 2019-08-28 19:56:35
I hang out in both because I try to be helpful but sometimes this stuff is beyond help lmao
farshidrezaeii 2019-08-28 20:03:40
not like you!
zack6849 2019-08-28 20:04:10
Lmao
farshidrezaeii 2019-08-28 20:14:45
i agree. but, If you feel this is easy for you, you can take no action. he is not born a programmer.
he is learning. help him. don’t despise!!
zack6849 2019-08-28 21:19:56
lmao what
zack6849 2019-08-28 21:46:10
whatever you say, banana head.
oxbir 2019-08-29 15:57:02
laravel_discuss-12009.jpg

oxbir 2019-08-29 15:57:32
What is this error
zack6849 2019-08-29 15:58:44
you did role->with(‘orders’) somewhere, probably.
zack6849 2019-08-29 15:59:05
there’s not enough of the stack trace visible to tell you where you did it
Marvixino 2019-08-29 19:21:16
Can you help with this PHP …
I migrated over 400K MySql record from a custom made script, around 70K has an issue and the code could not import them, I exported those ID in JSON array … what is the best way to import them in patches?
2019-08-29 19:42:20
this is controller
2019-08-29 21:13:55
laravel_discuss-12022.jpg

2019-08-29 21:14:21
laravel_discuss-12023.jpg

2019-08-29 21:14:39
update is worked
2019-08-29 21:15:58
laravel_discuss-12026.jpg

2019-08-29 22:16:41
samih hassanzadeh, [29.08.19 23:03]
whate use data type in mysql for storag image and text in one column
rebory 2019-08-30 08:45:15
friend i can’t find my error any budy help me
rebory 2019-08-30 08:45:48
laravel_discuss-12036.jpg

rebory 2019-08-30 08:45:48
laravel_discuss-12035.jpg

rebory 2019-08-30 08:45:48
laravel_discuss-12034.jpg

rebory 2019-08-30 08:45:48
Image data not send when i submit ajax form
farshidrezaeii 2019-08-30 09:46:34
rebory 2019-08-30 08:45:48
Image data not send when i submit ajax form

hi.
use formFata

and set “Content-Type” to “multipart/form-data”

rebory 2019-08-30 10:06:16
laravel_discuss-12044.jpg

rebory 2019-08-30 10:06:50
i was solve it
Ahmed Magdi 2019-08-30 16:55:55
Hello guys
Iam try to fetch data to my vue component by api route
But it give me json error
Ahmed Magdi 2019-08-30 16:57:22
laravel_discuss-12053.jpg
I get these messafe in console
Ahmed Magdi 2019-08-30 16:57:22
laravel_discuss-12052.jpg
And that’s json data api route work
|