I am working with Laravel in this route : Route::get(‘turnIn/{turnin}’,”TurninController@index”)->name(‘turnin.index’); and when calling the route : {{ route(‘turnin.index’, [$turnin])}} …
Tag: laravel
Directory issue in laravel
As I am leaning laravel I am facing directory issues. I have made a navbar in which a create option is given to access the create file which is located in my resources/views/posts/create directory. …
File isn’t recognized ERROR “Call to a member function store() on null” on Laravel file upload
I’m using Laravel, Ajax with Datatables to manage my info, everything was working fine but i need to upload files to it. But i’m getting Call to a member function store() on null. Here’s the code of …
Multiplication in Laravel controller not displaying in view
I am trying to multiply the total dollar amount of cart items by a sales tax amount and have that displayed in my view. It seems to be working, or at least I get no errors, but I get no tax displayed in my view. In my payment controller I have this And in my view I have this All
how to update existing product in laravel?
I’m trying to edit existing property’s listings in my laravel application using the following method ListingController the edit.blade.php I tried using this method but was confronted with this error SQLSTATE[23000]: Integrity constraint violation: 1048 Column ‘balcony’ cannot be null. …
I Have A Problem In Laravel File Upload. How To Get Original Uploaded File?
I Upload MS Word Document (.docx) in Laravel Using <input type=”file”> My MS Word File is Automatically Converted as (.file) Format While Storing in storage/app/public How to Again Download Same (.docx) Formatted File? ApplicationController.php Add-Application.php Image: Saved File Propertie…
Resource Controller Concept
I am unable to find the issue. It is showing 404|Not Found update.blade.php PostController.php (a resource controller) route: please tell me what is the issue in this. one of the advice I got is to change the name of view file i.e update.blade.php to edit.blade.php. I don’t know how does it help Answer …
Laravel select records with pivot table
I have a little problem with eloquent. I have 3 tables. Users, phrases, and phrase_user. phrase user contains columns: id, phrase_id, user_id I need to select phrases with pivot table for example. This action with SQL will be like this… This is my index function in controller I also have written these f…
Class ‘AppHttpControllersProducts’ not found in laravel
I am new to Laravel, so I am trying to store some information coming from a form and I am getting this error: Class ‘AppHttpControllersProducts’ not found I have tried adding use products; but it still doesn’t work… Here is my code: Products Controller Products model Any help is greatl…
Is there any option to know from which Wifi/network request comment?
I plan to make a web application. The workflow will be the client scan QR code using his phone to go to some specific URL. But interested to me is there any option to I can limit visit that URL if the request didn’t comment from a specific WiFi network? I do not want to anybody take a photo and