get empty file after download – PHP
i want to download a file of projet but i get it empty. i'am using a spreadsheet librairy Notice : i a make a dump after save function , my file is full and not empty in the path directory…
i want to download a file of projet but i get it empty. i'am using a spreadsheet librairy Notice : i a make a dump after save function , my file is full and not empty in the path directory…
I have a Laravel site which uses jQuery to load the data that is pulled from the database via the various controllers. I am trying to add a d3 visualization of a Bubble chart, but I'm running into conflicts and…
I have 2 models named AdminContent, AdminCategory. I have content_category_id in my admin_contents table. I have category_id and category_name in my admin_categories table. I linked category_id with content_category_id foreign. I am using the hasOne() function in my Admin Content model.…
so im trying to update my data, and it shows this: IlluminateDatabaseQueryBuilder::cleanBindings(): Argument #1 ($bindings) must be of type array, null given so when i try to look into it, the error is here $tradeSetup->tags()->whereNotIn('user_tag_id', $request->userTag)->delete(); weird thing is, i…
I'm working on a alumni portal where I need to display the committee member details. I need to print like 4 members in a line and next 4 in the next line. Any solution would be helpful. <h2>Member Details</h2> <div…
I have 6 data in database record but I want to get last 3 data this is my data : criteria_id criteria_name 1 A 2 B 3 C 4 D 5 E 6 F i have tried with this code…
I want to redirect to route with name doug-test, but I want to preserve the url parameter. I saw a webpage that says use $request->query('url') to get the url parameter, but that doesn't seem to work. I want to know…
I want to return my nested array in a foreach loop. In this foreach loop I need to add a foreach, because it is variable how many accordions exist. But I can't get it to load the data from the…
In the application there is column type where the type are: Users and Admin. I want to separate the app file of users to admin. I already edited the file of AuthenticatedSessionController if($user_details->type != 0) { return redirect()->intended(RouteServiceProvider::HOME); }else{ return…
I want to add username before each route.. ex: sam/productDashboard james/productDashboard note - Username is getting from session. i tried like this. it doesn't work Route::get( session()->get('name').'/productDashboard',[ProductController::class,'ProductDashboard'])->name('productDashboard');